diff options
| author | David Monjoie <dmo@odoo.com> | 2017-08-04 16:29:05 +0200 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2017-08-08 11:18:11 +0200 |
| commit | ed286c4562493e17a27dead2501cebadadf668bc (patch) | |
| tree | a0c221d896146fdfe1ff1ab5e1a90fde5c5bf13c /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | e2252c35c15df9ccf9132c72348723790d76a676 (diff) | |
[FIX] web: disable buttons in list view on virtual records
Such buttons are not going to work on records that actually do not
exist yet. The behavior is now the same as in saas-15.
Steps to reproduce the bug:
Steps to reproduce the bug:
- Enable lots in Iventory
- Choose a product which is a component of another (through mrp bom)
- Set this product as tracked by lot
- Set this product inventory quantity to 0
- Create a new manufacturing order for the product for which it is a
component
- Click on "Check Availability"
- Click on Produce
- Click on the little square with a + in the m2m list view, the
server will crash in the ensure_one of the function called by
the button since there is no record to run it on.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
