diff options
| author | Prakash Prajapati <ppr@odoo.com> | 2019-02-13 09:36:44 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-02-13 09:43:36 +0000 |
| commit | 984bf2492a16f0ff357b3fc03712c68f1a011f96 (patch) | |
| tree | cf973d1dc8c83eba3bca9823534d92c0e3d1b921 /addons/web/static/src/xml | |
| parent | 30128860dad3a119425f4c1ef47244d30f19a658 (diff) | |
[IMP] product: Use the vendor code in 'Customer Ref' if set
Currently the 'partner_ref' field is used when generating purchase orders
lines. It computed like this:
Customer Ref : Vendor Product Name on the supplier info
OR internal reference of the product
OR product name
As we can set an alternative internal reference for the vendor,
that should be used instead of the internal reference of the product,
this commit will compute it as follows:
Customer Ref : Vendor Product Name on the supplier info
OR vendor product code on the supplier info
OR internal reference of the product
OR product name
closes odoo/odoo#28573
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
