I have a error : UnboundLocalError: local variable ‘connector’ referenced before assignment. To self host, etc. I have declaration in my init. How can I fix this? Thanks for any help! Answer You either need to write self.connector or OdooUtility.connector instead of just connector. I suspect self.connector is what you wanted.
Tag: odoo-10
Create multiple saleorder
I am trying to create multiple sale order based on a input field (product_quantity) in crm.lead. I am receiving the following error as pop up Answer @Khelili, thanks for sharing it. Adding a context worked fine for me. I got it somewhere by googling.