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 | etc.
(API 8.0) How to know the trigger field of method @api.depends('field_1', 'field_2', ..., 'field_n') ?
Hello community friends.
I am working with the new api 8.0 of odoo
And Please I need you help...
I have two fields: field_1 and field_2:
field_1 = fields.Many2one(........, compute='_filling_method')
field_2 = fields.Many2one(........, compute='_filling_method')
... and the _filling_method:
How I can know what is the trigger field in the method? field_1 or field_2?
if trigger == 'field_1':
if trigger == 'field_2':
Is there any way?
Thanks a lot.!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/28/15, 9:15 PM|
|Seen: 875 times|
|Last updated: 4/29/15, 12:20 PM|