-
- Downloads
[FIX] base, contact: add conditions in Set Defaults form
Version: only V16.0 (will be improve in future versions)
Steps to reproduce:
- install the "contacts" module;
- go to a contact;
- go to the "Set Defaults" tab (in the debug menu).
Issue:
There is no field that allows you to select the condition.
Cause:
The function `getConditions` needs the `change_default` attribute of the field.
Solution:
Add the `change_default` attribute to the list which is returned by the `_get_view_field_attributes` function.
opw-3079328
closes odoo/odoo#106350
Signed-off-by:
Denis Ledoux (dle) <dle@odoo.com>
Loading
Please register or sign in to comment