summaryrefslogtreecommitdiff
path: root/addons/base_import/static/csv/database_import_test.sql
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2016-04-04 10:31:30 +0200
committerNicolas Martinelli <nim@odoo.com>2016-04-04 14:17:41 +0200
commit7c410c7c12900133e1993cb086d1e96c337cd541 (patch)
treed3c99fbc4889c7dc9c6ad627a08a822c8b36a4d7 /addons/base_import/static/csv/database_import_test.sql
parent3d4954b88f2a4e75dee6d0b74c79b924ae0d6d2d (diff)
[FIX] purchase: do not add contact in suppliers
When the PO is related to a contact of a company, the current behavior is to add the contact in the list of suppliers of the product. However, there is little chance that this is actually the desired behavior. Indeed, in most of the cases, this will simply add a lot of useless suppliers on a product. The fix is to add the parent company of the contact in the list of vendors, since `_select_seller` wil also search in the parent companies to get a purchase price. opw-672862
Diffstat (limited to 'addons/base_import/static/csv/database_import_test.sql')
0 files changed, 0 insertions, 0 deletions