Hi! I try override method 'write' when create and update objects for sync with db Magento. At the moment, my method first sync with Magento and then save change.
def write(self, cr, uid, ids, vals, context=None): self.ex_bulk_prod(cr, uid, ids, context) return super(product_product, self).write(cr, uid, ids, vals, context=context)
Please anybody prompt me, how make first to save change and only then sync with Magento.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/9/14, 1:53 PM|
|Seen: 4287 times|
|Last updated: 3/16/15, 8:10 AM|