How To Trigger An Evenement On Export Odoo
I have an ir.config_parameter I'd like to update when a specific field of my res_partner table is exported, for exemple if 'age' is exported, I want the higgest ID in res_partner t
Solution 1:
Every Odoo model will inherit Model/TransienModel (older versions osv.osv) which comes with already defined methods, like read, search, create, ...
Odoo's export (csv. excel) is using the method export_data(). Just override it and set your parameter within it.
Post a Comment for "How To Trigger An Evenement On Export Odoo"