diff options
| author | Christophe Matthieu <chm@odoo.com> | 2017-07-12 09:28:02 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2017-07-12 09:50:45 +0200 |
| commit | a6f2dc07e5abded193a5f0808408314043e940f9 (patch) | |
| tree | e00b1724de2711670e03a3f9a1ae20ed6d8551a5 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | ce11312dba5f796b2c5769d66433aad103f30766 (diff) | |
[FIX] sale: traceback when choosing a product with warning as order.line
If a user chooses a product that has a blocking error message, the product
is set to False. This is good, but we do not want the following to happen:
The other onchange triggers are called and "product_uom_change"
generates an error because there is no product. (In fact it is
"_compute_price_rule" on "product.pricelist" who raise)
The onchange update the values of the other fields related to the
product (eg for the "name" field where the name of the product that
is canceled by the warning is assigned).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
