summaryrefslogtreecommitdiff
path: root/addons/google_drive
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-09-19 15:19:19 +0200
committerMartin Trigaux <mat@odoo.com>2018-09-20 16:55:44 +0200
commit60e9e1f738cb04e9d76fed05dda4caa1293963c4 (patch)
tree98c83e29861092b94cfa9ab328b6ac2b396bb3bb /addons/google_drive
parent2de89988632d8ddb53966a973223d7fa1c7c6f98 (diff)
[FIX] models: do not copy translations from specified inherited records
A copy call cn be made with a specified value to an inherits value, e.g.: self.env['product.product'].browse(42).copy({'product_tmpl_id': 1}) In such scenario, it is assumed the translations are already correct on the specified related record and should not be used in the copy translation. i.e. the translations of the product.template 1 must not be duplicated during the copy call above Same logic for One2many fields which should not recursively copy the translations for user provided values Closes #27108
Diffstat (limited to 'addons/google_drive')
0 files changed, 0 insertions, 0 deletions