diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-06-03 11:06:21 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-06-03 11:06:21 +0000 |
| commit | b8115cc4c675859ab0ae9c34a66aa4aa3bf46464 (patch) | |
| tree | 0adcaed3af5ec6e3df2f51831c79e1d33ef229df /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 7c546f10b4c2e9de5d1b6e2dd20e04da37d472cc (diff) | |
[FIX] purchase: incorrect attribute
When the `purchase.order` is added as an embedded tree view on a model
without a `state` field, a crash occurs.
The existing condition doesn't make sense on a PO (while it would make
sense on a PO line), so we simply remove it. Since the condition implied
that the field `invoice_status` was always hidden, we keep it that way.
opw-2005768
closes odoo/odoo#33827
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
