I made an excel purchase report and from the purchase order line I took the 'name' of a product from the database. I added the 'Add a note' and 'Add Description' features to my purchase order line. The problem is when I add a Note to a Purchase Order and then print the document into an excel file, why does the note added to the Purchase Order also be included in the product name? whereas on the other hand when I add a description, the description that I add doesn't enter the excel report. how do you prevent the added Note from entering the 'name' field on the Purchase Order line
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
Hi,
If you are looking for a stable way to retrieve the data from purchase order line, if the field display_type in the order line is set means, it is not a normal product line, it is a section or a note line.
According to the value of this display_type field, you can change the way how you printed in the excel report. You can check the default report in purchase order to see how it handled.
In case if you need to change the behavior of saving value in the name field, there is no configuration for it, you have to customize it again and which will be tricky.
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se