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 hide attribute values (variants) in brackets in the invoice report. Customers don't need to know all the detail of parts that I'm repairing with their products. These attribute are important to me in the Odoo system but not for customer. I want to make invoice look nice and simple for customers. They only need to know the name of products, not all the details.
For example, right now my invoice report look like this,
Item 1 (colour1, type1, size3) price1 tax1 total1
Item 2 (colour4, type4, size4) price2 tax2 total2
I would like the invoice report to look like this,
Item 1 price1 tax1 total1
Item 2 price2 tax2 total2
It's much easier and clearer to read the invoice without all the attributes.
Is it possible to hide these attributes in the invoice report? If so, how?
You can create an inherit view to override this field... (without python code)
Settings -> Technical -> User interface -> Views -> create
<xpath expr="//tbody[@class='invoice_tbody']/tr/td/span[@t-field='l.name']" position="replace">
<!-- COMMENT : replace full product name by short name -->
Thanks zbik, true, I could edit the description. I thought there would be a way to hide the attributes permanently without having to edit the description all the time.
I could dig in the codes to remove the substring but I am not a programmer and don't have time for this. I believe Odoo should lets user to enable or disable various options instead of coding. This will attract more users to Odoo!
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: 3/19/15, 1:59 AM|
|Seen: 1634 times|
|Last updated: 3/28/15, 9:43 AM|