Pieter Claeys (clpi) 439ca89a68 [IMP] stock: stock rule warehouse fallback
In stock_rule.py, the get_rule method uses the warehouse_id in the
values dict to look for rules, leading to frequent errors when the
warehouse_id is not set.
This small change uses the warehouse_id on the provided location as
a more intelligent fallback in case no warehouse_id was provided.

Task: 2479234
Community PR: https://github.com/odoo/odoo/pull/114315
Enterprise PR: https://github.com/odoo/enterprise/pull/37764

closes odoo/odoo#114315

Related: odoo/enterprise#37764
Related: odoo/upgrade#4514
Signed-off-by: Tiffany Chang <tic@odoo.com>
2023-05-25 16:28:56 +02:00
…
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%