[10.0][MIG] portal/portal_sale/portal_stock - #972
Conversation
There was a problem hiding this comment.
v9 version of portal_sale overwrites the method action_quotation_send of the model sale.order, changing the default template to be used for sending the mail to the one provided by this module. As now there's no such change (as the template itself disappears), we expect that the default template will be the same (and we can even customize this template to our needs, not the sale one).
Following this rationale, you have to provide a migration script here, that removes xml-id reference to sale.email_template_edi_sale, and rename XML-ID portal_sale.email_template_edi_sale to sale.email_template_edi_sale.
There was a problem hiding this comment.
The same logic applies also for the invoice template.
There was a problem hiding this comment.
Sorry, I don't get it 😳
There was a problem hiding this comment.
Do:
env['ir.model.data'].search([
('module', '=', 'sale'),
('name', '=', 'email_template_edi_sale'),
]).unlink()
openupgrade.rename_xml_ids([
('sale_portal.email_template_edi_sale',
'sale.email_template_edi_sale'),
])
and the same with invoice one.
615788d to
c5a5a5b
Compare
|
@pedrobaeza thanks , missed the template. |
Uh oh!
There was an error while loading. Please reload this page.