Advance Description on Purchase Order

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

0,95 € 0.9523809523809523 EUR 0,95 € Tidak Termasuk PPN

US$ 1,00 Tidak Termasuk PPN

Not Available For Sale

Kombinasi ini tidak tersedia.

v16 v17

Syarat dan Ketentuan
Jaminan 30-hari uang-kembali
Pengiriman: 2-3 Hari Kerja

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