diff options
| author | Jeremy Kersten <jke@odoo.com> | 2016-08-16 18:29:25 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-08-17 10:32:52 +0200 |
| commit | 21bd473de7bb23923e5d75d97224ddb42845fde3 (patch) | |
| tree | 5b141bb0f4bb9228a5f2c8496f98c8664fc493c2 /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 4cfd86edaa27d09f1066dd017bf466b8b30611e5 (diff) | |
[FIX] qweb: fix ir.qweb.field.contact
Before this commit when you edit a contact with the editor, you didn't see
the selected record before the save.
Now, you can edit a contact with the html editor.
We move the hacked field self (on res.partner) from website_partner to base.
2 bugs:
field and record was reversed in call
need to pass a browseRecord and not a dict, because we uses .env on it
This hack allow to use widget='contact' on the browse record
itself and not on a specific field from the browse record
Eg:
<div t-field="partner.self" t-options='{
"widget": "contact",
"fields": ["address", "phone"]
}'/>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
