-
- Downloads
[FIX] sale : get correct button title invoice email
When we have automatic invoicing enabled , the email sent to the user when he confirms his payment online will contain a button 'View Journal Entry' To reproduce the error : 1- Install accounting, website, ecommerce, sales apps 2- Go to website settings and activate automatic invoice 3- Install test payment method and activate it 4- Log out of the current account 5- Make a purchase of any item and confirm the payment 6- You will receive 2 emails , the second one will have the invoice and it will contain a button View journal entry The origin of the problem is not providing model_description when sending the invoice so it will take the display_name of the model 'account.move' by default which is Journal entry. opw-3271345 closes odoo/odoo#121525 X-original-commit: 8d791167 Signed-off-by:Victor Feyens (vfe) <vfe@odoo.com> Signed-off-by:
Mahdi Cheikh Rouhou (macr) <macr@odoo.com>
Please register or sign in to comment