Skip to Content
Menu
This question has been flagged
1 Reply
1722 Views

Can anyone help me with adding options to maintenance_type base field in maintenance.request model in Odoo Cloud environment. 

When tried to add options in selection options field, the following error appears:

Properties of base fields cannot be altered in this manner! Please modify them through Python code, preferably through a custom addon!

Avatar
Discard

Odoo Customization Tips: https://goo.gl/8HgnCF

Best Answer

You need to create a custom addon inheriting the model with this field

maintenance_type  = fields.Selection(selection_add=[('your_option','Your New option')])
Avatar
Discard
Author

Can I create a custom addon in Odoo cloud environment (Saas) ? how?