Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
104 Näkymät

I have several Customers that order products based on their naming and coding convention.

[WID-101] Widget for me could be sold as:

  • [W555R] Regular Widget for Customer1
  • [WID-R-P] Widget - Regular Plain for Customer2

Is there a way I can define Customer specific Product Names and Codes and have them show, instead of my Product Name and Code, when selling?


Avatar
Hylkää
Paras vastaus

This is supported the same way you setup Vendor specific Product Codes.


First, define a custom Inherited View that uses the Context attribute to set the partner_id key:


<field name="order_line" position="attributes">

    <attribute name="context">{'partner_id': partner_id}</attribute>

</field>


Note: be sure to check that the sale.order.form View you are inheriting is the one with the External ID equal to sale.order.form



Next, setup the information in the same way. On the Purchase tab of the Product, below your Vendors if applicable, add a line for each Customer with the unique Product Code and/or Product Name. 



All Customer facing documents will only show the CUSTOMER version of the product. This includes the Customer Invoice.


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
5
marrask. 18
6733
1
syysk. 17
9648
1
maalisk. 15
7016
3
helmik. 24
1469
1
jouluk. 23
8776