chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import data_merge_model
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import api, models, _
class Data_MergeModel(models.Model):
_inherit = 'data_merge.model'
@api.onchange('res_model_id')
def _onchange_res_model_id(self):
super()._onchange_res_model_id()
if self.res_model_id.model in ('product.product', 'product.template'):
return {'warning': {
'title': _("Warning"),
'message': _("Merging some products is an important change that will impact your inventory valuation. "
"You may have to manually rectify it once done."),
}}