d00471fdb4f205e3a4dbaaae8076602da5a07920
Current behaviour: If you have an SO, with an SOL that is a service invoiced based on Timesheet's task, with some logged hours (therefor it can be invoiced), the wizard wasn't showing the date range fields to allow user to specify a begin and end date for invoicing. Expected behaviour: You should be able to choose a date in the wizard when you have a service based on timesheet, and "normal invoice" is chosen as a radio option. Steps to reproduce: - Install Sale and Timesheet - Create a Product of type service, invoiced on timesheet, on create task, chose a project (doesn't matter), unit = hours - Create an SO and sell 50 hours of the newly created service, confirm the SO - Log 20 hours on the task related to the sol - Return to the SO and click on "Create Invoice", normally 2 fields for "Date Begin" and "Date End" should be present, but it is not the case. You can test the desired behaviour in version 15.3 and before. Reason for the problem: The xml view was attaching itself after a field `deposit_taxes_id` which is inside a group that is invisible if there are no downpayment. Fix: Attach the xml view after the before mentioned group (`down_payment_specification`), in a separate group of its own, with visibility that depends on `invoicing_timesheet_enabled` field. Affected versions: - 16.0 - master opw-2994036 closes odoo/odoo#101406 X-original-commit: 3eb1660e7bee4c5b2fe63f82daad5f4acbea2dd2 Signed-off-by: Xavier <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%