Hello everyone, i am trying to sync my Odoo application with an external app. When I import products pricelist with items by CSV, I need to then upload/sync the products pricelist item to this external app. For this, i need to overwrite the write method in Odoo, to perform the pricelist sync between odoo and external app.
However, when I run the Test Import, the write method is called anyways and so is my external upload method. Is there a way I can differ when the method are being called by a test or an actual import?
i've found the similiar question here: https://www.odoo.com/forum/help-1/question/differing-testing-import-and-actually-importing-143184
i've tried the similiar action but the return always False even im doing the real import, can you help me please?