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.
I have a function in python "mag_connect" used in my "write" function in product_template, inherited from original product_template.
_inherit = 'product.template'
def write(self, cr, uid, ids, vals, context=None):
self.mag_connect(cr, uid, ids, vals, context)
res = super(product_template, self).write(cr, uid, ids, vals, context)
But, an other program I use is calling the "write" function thanks to xml rpc protocol and I want it not to enter in the mag_connect function.
How can I do this ?
Thank you for your help !
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: 6/23/16, 8:13 AM|
|Seen: 547 times|
|Last updated: 6/23/16, 9:59 AM|