ed77febae6cb71adf514c9eb8fec6dbbc86e7327
Issue: Follow up on #128432, but this time it's removing expense lines from the pdf report when we print the Sales Order that has both timesheets, and posted expenses. Steps to reproduce: - Install Sales, Timesheets, Expense - Create an SO and sell a service that creates a Task > Confirm - Log some timesheet on the task (3h for ex.) - Create an expense related to the SO, approve it and generate the journal entries. - Print > Timesheets on the SO - In the pdf, we have table row entries for the expense lines. Cause: The report is basing itself on `timesheet_ids` to print the report, those might include expense lines. Fix: Add a domain on `timesheet_ids` to exclude lines that don't have a `project_id` set, those are not timesheet, so can be expenses. We want to exclude those. Affected versions: 16.0 up to master Reference: opw-3342274 closes odoo/odoo#130315 X-original-commit: c55f01cff7e415c48f823201ace63074bf9a9146 Signed-off-by: Xavier Bol (xbo) <xbo@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%