diff options
| author | Arnold Moyaux <arm@odoo.com> | 2019-11-28 15:25:52 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2020-01-09 12:17:39 +0000 |
| commit | 2e747cedf4faa194699456c13c48313c14daf8f8 (patch) | |
| tree | d2905360342e2c547f4b2295239bdc6b48fcd2f7 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 476780ced5640f684607a730adf1e331ddc7b622 (diff) | |
[IMP] stock, purchase_stock, mrp: Procurement exception
Currently when a procurement fail it will raise a user error.
Some function as run in stock_rule catch the errors and merge
them in a single error.
Also since commit a2a6b099a4c1c99f4aa9e741442944e588a8f048 procurements
are executed in batch and in some cases, we would like to have more
information about the error. For example in orderpoint we would like to
know which orderpoint is responssible for which error.
It would also be possible to return an object with the details but
procurements pass through a lot of different method that already have
their own return signature and a simple exception is easier to manage.
Task: 1849912
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
