Browse Source

Use of `@api.multi`.

pull/313/head
Jairo Llopis 9 years ago
parent
commit
b00ae9a102
  1. 1
      base_custom_info/models/custom_info.py

1
base_custom_info/models/custom_info.py

@ -81,6 +81,7 @@ class CustomInfo(models.AbstractModel):
auto_join=True, auto_join=True,
string='Custom Properties') string='Custom Properties')
@api.multi
@api.onchange('custom_info_template_id') @api.onchange('custom_info_template_id')
def _onchange_custom_info_template_id(self): def _onchange_custom_info_template_id(self):
if not self.custom_info_template_id: if not self.custom_info_template_id:

Loading…
Cancel
Save