summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields_owl.js
diff options
context:
space:
mode:
authorRémy Baranx (bar) <bar@odoo.com>2020-10-05 12:52:28 +0000
committerRémy Baranx (bar) <bar@odoo.com>2020-10-05 15:26:12 +0000
commit764a365f390a71522bbf428679e4034149e81150 (patch)
treef8e0c5c12e2951c326033caab8036bfa9dd277c3 /addons/web/static/src/js/fields/basic_fields_owl.js
parent6562e3463133ac885f8b3df3d0596e3dab77c6ff (diff)
[FIX] stock_dropshipping: create missing dropship picking type
In the function `create_missing_dropship_picking_type()`, the way to search companies that already have dropship picking type was not robust enough as it used the translatable `name` field in a search domain and the ORM `search` method used the translated value of `Dropship` name value instead of the raw value. A better approach is to search `stock.picking.type` with a default source location usage set to `supplier` and a default destination location usage set to `customer`. Related to upgrade request: #54154 closes odoo/odoo#59137 X-original-commit: 203bb4d9c113f5c24ad00d39e2ae46b4689117f4 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields_owl.js')
0 files changed, 0 insertions, 0 deletions