Advance Description on Purchase Order
Allow configuring the description in purchase order lines by using python code in product categories
Advance Description on Purchase Order
Allow configuring the description in purchase order lines by using python code in product categories
STORY BEHIND THE FEATURES
ODOO BEHAVIOR
Odoo proposes a hardcoded description on sales order line which is Product ref / Product name and without any flexibility to define priorities.
For instance, if you give supplier reference on the supplier pricelist, description on purchase order lines only show the Supplier ref and no more your product reference.
CLUEDOO BEHAVIOR
Cluedoo lets you configuration the description using python code in the product categories. With this way, you can varies the description by categories and have a control on what you will have on the Sales/Purchase order.
HOW TO USE THIS MODULE
1
2
For example, we want to put internal reference and country (custom field made in studio) on the description on order lines
3
We can write the python code like this:
result = product_template_id.x_studio_country + ' ' + product_template_id.taxes_id.default_code
string ' ' (to add space)
Then when you create a purchase order and select the product that is included in the product category Office Furniture, you will have country and internal reference on the description.
Note: rewrite python code like this: result = product_template_id.x_studio_country + ' ' + product_template_id.default_code