46d70e30ef9da4427aed5c74e16cd9541f1c4ebc
TaskID: 2088586 Add an 'Invoice timesheets up to mm/dd/yyyy' field on the Invoice Creation modal. This field is only visible when we want to create an invoice for a Service whose Service Policy is set on 'Timesheets on tasks'. This field allows to invoice the timesheets of a service up to the date set on this field. Before this commit, when we create the account.moves.line records, we link timesheets of a service to an invoice. Now, we need to check which timesheets are invoiced, because with the adding of the date for the creation of invoices, we cannot invoice the timesheets after to this date. Then, the process is done at the end of '_create_invoices' in 'sale.order' model when the invoices are created. Override an ir.rule in accout module, because this rule accept all account.analytic.line in its domain and we don't want to accept all timesheets when the user has the access right : "See own timesheets". Therefore, we need to override this rule to apply the others rules in this model for the timesheets.
…
…
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%