Advance Description on Purchase Order

https://falinwa.odoo.com/web/image/product.template/5934/image_1920?unique=f7c5860

0,95 € 0.9523809523809523 EUR 0,95 € Chưa gồm thuế GTGT

US$ 1,00 Chưa gồm thuế GTGT

Không có sẵn để bán

Sự kết hợp này không tồn tại.

v16 v17

Terms and Conditions
30-day money-back guarantee

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

On Product Categories, we can input python code to enable product description on sale order line / purchase order line.
We can put the value from object: sale order line (sale.order.line), product template (product.template), product variant (product.product)


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