Advance Description on Purchase Order

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

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

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

Not Available For Sale

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

v16 v17

Điều khoản và điều kiện
Hoàn tiền trong 30 ngày
Giao hàng: Từ 2 tới 3 ngày làm việc

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