If I use a default value in the context of a field and also have one defined in the models _defaults, which value is used?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2740
Views
HI, Default values passed through the context will override the defaults(_defaults) defined in the model.
You may refer the link for explanation: https://bugs.launchpad.net/openerp-web/+bug/925622