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.
Hi I would like to add spaces between numbers in phonenumbers on invoice reports.
I know there is the base_phone module which can provide some facility to do it. I follow the advices in the module description and add a field like the following in my xml file :
<span t-esc="o.partner_id and o.partner_id.phone and format(o.partner_id.phone, phone=True, phone_format='national') or ''" />
But a NoneType Exception is raised.
If I replace partner_id with user_id it works as expected.
Could someone help ?
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: 4/18/16, 5:24 AM|
|Seen: 453 times|
|Last updated: 5/27/16, 7:34 AM|