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.
So, I'm trying get the value of a field as a string, and all I get when I cast the self.pool.get method to a string is a big fat "None"
Here's my code:
ccNum = str( self.pool.get('account.voucher').browse(cr,uid,'card_number',context=None) )
Can I not cast this to a string? If not, then what do I need to do to get the value out as a string instead of an object?
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: 9/27/13, 5:47 PM|
|Seen: 982 times|
|Last updated: 3/16/15, 8:10 AM|