ddfbfddf3c8639f6e6cfc64bb0125156c13c84ab
When using the auto-batch feature for receipt, when creating a purchase, it wouldn't batch pickings that matched the group-by conditions. The issue is that the _create_picking() called when validating a Purchase Order creates the picking, then creates its moves and then validates them. Doing it this way avoids the trigger for the auto-batch feature located in picking's action_confirm(). By calling action_confirm() on the created picking, we force the trigger of the auto-batch, while not confirming the moves a second time since their state isn't 'draft' anymore. opw-2961618 closes odoo/odoo#99466 X-original-commit: 7d091ba995d13fa8f692827b33aad0982c2a65fa Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>
…
…
…
…
…
…
…
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%