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.
when I get into write I do not see those values which were not edited in vals.get(). How do I manage to get those field values that were not edited by user and I need those fields for some validation.
use ORM method browse.
Syntax :browse(cr, uid, select, context=None, list_class=None, fields_process=None)
def write(self, cr, uid, ids, vals, context=None): partner = self.browse(cr, uid, ids, context=context) #for example get first_name first_name=partner.first_name # all other field partner.field_name
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: 5/18/13, 9:38 AM|
|Seen: 1495 times|
|Last updated: 3/16/15, 8:10 AM|