85f4c8f2ba05e6a1db1dc9f275253d8cc2efbd6d
When generating an invoice for a SO with 2 SOL that have a timesheet service (1 SOL is timesheeted in August, the other is timesheeted in September) and we request the invoice for the period of August only, the SOL for September is incorrectly set to state "Nothing to Invoice", instead of staying in state "To Invoice". This is due to the fact that when we inspect the SOL to invoice, those that are not in the domain (here the SOL in September is not in the time domain of August), we set it's qty_to_invoice to 0, so it doesn't get invoiced, but this is a computed field, which sets the line invoice_state to "Nothing to invoice". The proposed fix is to reset the invoice_state of the lines that are not validated by the domain to the state before setting the field qty_to_invoice to 0. Affected versions: - 15.0 - saas-15.2 - saas-15.3 - master opw-2969641 closes odoo/odoo#100978 X-original-commit: 50b81adb3ea13db33bf1375b7038b6cc3546ec86 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com> Signed-off-by: Piryns Victor (pivi) <pivi@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%