summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/relational_fields.js
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2019-07-23 12:43:48 +0000
committerLaurent Smet <las@odoo.com>2019-08-06 12:59:18 +0000
commit16dde2394902c937324a1a0525f50140fe45a768 (patch)
treebb34a4f453a545b7ca55a4597766e22b5c2e8a60 /addons/web/static/src/js/fields/relational_fields.js
parentb43e06dd5a80814e15ce20f50d683f0daaa19a93 (diff)
[FIX] account: Fix checking of 'account_id' in account.move.create
Since recent changes in the ORM, line.account_id will trigger a default_get on 'account_id' instead of simply checking a value for this field has been provided. Then, as the move is a 'new' record, check directly the presence of this field inside the cache. Furthermore, this condition must not affect the lines having a display_type (section / note). -task: 2040675 closes odoo/odoo#35283 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions