Skip to content

Conversation

@remi-filament
Copy link
Contributor

email_template linked to product_templates were using "product.template" as model till v12.0 (https://github.com/odoo/odoo/blob/ba1ba88874e2ae9716e59ec199eb739d58c3f771/addons/product_email_template/views/product_views.xml#L14-L17)
and "account.move" since v13.0 (https://github.com/odoo/odoo/blob/13.0/addons/product_email_template/views/product_views.xml#L14-L17)
This PR adds a script to update those models.

@remi-filament remi-filament force-pushed the 13.0-ou-add-product_email_template branch from 6675788 to 1799e91 Compare September 16, 2024 10:39
@legalsylvain legalsylvain added this to the 13.0 milestone Oct 8, 2024
Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. It fact, odoo/odoo@9c7d7f0 it's a fix. I mean, in v12, this shouldn't be 'product.template' but 'account.invoice', but Odoo didn't fix previous versions :S

@MiquelRForgeFlow
Copy link
Contributor

@remi-filament remi-filament force-pushed the 13.0-ou-add-product_email_template branch from 1799e91 to 5c8d504 Compare February 28, 2025 10:17
@remi-filament
Copy link
Contributor Author

@MiquelRForgeFlow MiquelRForgeFlow merged commit fb040b4 into OCA:13.0 Feb 28, 2025
2 of 3 checks passed
@remi-filament remi-filament deleted the 13.0-ou-add-product_email_template branch February 28, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants