diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-08-26 07:31:25 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-08-27 09:31:31 +0000 |
| commit | 8fbbf1c696a0ef49d66d278eaed84c6ddbcb77b4 (patch) | |
| tree | 9082fa82d9eababc5463680a3e0bc1fc28b4550a /addons/web/static/src/js | |
| parent | b8f7b472a62924ddc65f9a19b73c04484a76cf5c (diff) | |
[FIX] point_of_sale: vailable categories in POS
When you are selecting the some available categories of products for a
point of sale config, it won't let you select a start categories
anymore. This is caused by changes made on onchange in rev:f44571f550dfa34ddb1a62bbe03e78a4dadf8eda
that makes the records of One2many with new_ids instead of classical
ids.
The other problem is that if you return a in an ocnchange, the domain
does not apply when you are starting to edit a record.
To fix the behavior, we are comparing the ids, instead of the recordst
makes the records of One2many with new_ids instead of classical ids.
We've also created a computed fields that contains the ids that can be
selected.
TASK-ID: 2057436
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
