diff options
| author | Aaron Bohy <aab@odoo.com> | 2018-11-06 10:34:43 +0000 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-11-09 15:04:18 +0000 |
| commit | 45bc7c92f804c0e2329eadf62043742f6986aa47 (patch) | |
| tree | 7017feefe85013391b1c431afca632d8f3146b12 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 1620c5b69c6977d49c2bcea6d9cbf02c0db44878 (diff) | |
[FIX] web: extend the fieldsInfo of a view with the origin view to evaluate extra fields
Suppose you are editing a SO to add a new line. Depending on the configuration,
a sale order line wizard may open (e.g. if packages are activated).
This wizard is a form view, opened from the tree view of the sale order lines.
We have commit 8e5156938a9c87b80512bff9ecd025891406e624
that adds extra fields from the originating view.
(However it doesn't work if the other view is inlined, so we modify this part to
add the extra field even in this case.)
Then we need the field info from the origin view in the target view;
we do so by extending the former with the content of the latter.
opw 1904337
closes odoo/odoo#28441
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
