diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2017-04-17 23:06:21 +0200 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2017-04-18 13:19:50 +0200 |
| commit | 05a33052747da7767fb6c3db160126d37520381a (patch) | |
| tree | 26b277da76ade71bc7738a26e485af286b1c8068 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 1463c76c1a216acd03b65df571496a8cb9387e23 (diff) | |
[FIX] web: BasicModel: active_id should always be defined
Before this fix, active_id wasn't defined on non existing record.
For example: when you tried to add a new contact on a new partner.
Now, active_id is false if there is no id on the current record.
So, you can use this value to evaluate the context
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
