c823f477aa2a277070567b3d82c9d26bf7f03532
Steps to reproduce: - create two storable products (Great Product - Super Product) - automated avco - create rfq with the two products - confirm -receive products - create Bill - set qty of one Great Product to 0 -> save - create bill for the Great Product - confirm Issue: User Error You can only reconcile posted entries Cause: `_get_all_related_aml()` fetches all aml related to the `stock_moves` with the product in the bill we want to post. It retrieves the aml of the bill in which we have put the product quantity to 0 but that it is still in draft. And we try to reconcile this draft move_line in https://github.com/odoo/odoo/blob/d0fdc38385f5f259da259d21e9137494e6d7c17d/addons/account/models/account_move_line.py#L2308 Solution: filter the `product_account_moves(_lines)` so we don't take into account moves that are still in draft opw-3180209 closes odoo/odoo#114328 X-original-commit: b1a74a1841c05e4e37643e17f6b97dfff11555cd Signed-off-by: Adrien Widart <awt@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%