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 had a many2one field which shows value while i change partner_id.But the problem is that those partner who has no the value also shows the previous value assigned in many2one field.Those partner who has no the value must show the many2one field empty .How can i resolve it..
Here is my code:
obj = self.pool.get('bank.internal.transfer')
id1 = obj.search(cr, uid, [('partner_id','=',name)])
for i in obj.browse(cr, uid, id1, context=context):
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: 7/24/14, 12:56 AM|
|Seen: 2062 times|
|Last updated: 3/16/15, 8:10 AM|