summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/xml
diff options
context:
space:
mode:
authorDeiber Rincón <dri@xoe.solutions>2019-04-03 00:14:41 +0000
committerMartin Trigaux <mat@odoo.com>2019-05-28 09:54:56 +0000
commit818ff8c406717ecaa81596775c43242f0cb593cd (patch)
tree745f509bd4bb770293014c6201fa677695fd4f1e /addons/web_editor/static/src/xml
parent9bd647ac88d96e49b601b1c6046fdbc93f1bbe79 (diff)
[IMP] point_of_sale: use more unique identifier
When custom modules load a different partner field set for a completely unrelated purpose AND this loading takes place prior to the stock odoo one, then the load_new_partners method will infer the wrong field set as the first in row hit is returned by _.find. It is not optimal code quality to use `res.partner` as if it was a unique identifier, while not inhibiting multiple loads of on a single model. Adding a (more) unique label and refer it in the find solves this problem and makes the code more robust. closes odoo/odoo#32351 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml')
0 files changed, 0 insertions, 0 deletions