Skip to Content
Menu
This question has been flagged
1 Reply
96 Views

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
5
Nov 18
6729
1
Sep 17
9648
1
Mar 15
7016
3
Feb 24
1469
1
Dec 23
8760