hr_timesheet_invoice: Created invoice from bill task work ignore the default taxes.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Hello,
When running "invoice task work", the generate invoice has no taxes if the product "Services on Timesheets" (6.1) or "Service on Demand" (trunk) has no taxes defined on it (which is the default). In such a situation the default taxes from the sales account should be proposed.
This applies to 6.1 and trunk.
How to reproduce:
1. install module hr_timesheet_
2. create a project with to_invoice = Yes and set a customer on the analytic account
3. create a timesheet line for that project
4. run invoice task work -> the generated invoice has no tax
This is because in hr_timesheet_
The correct behaviour is found in account/
Best regards,
-sbi
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 108 lines (+26/-12)2 files modifiedaccount/account_invoice.py (+11/-4)
hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py (+15/-8)
- qdp (OpenERP): Pending requested
-
Diff: 246 lines (+161/-7)4 files modifiedhr_timesheet_invoice/__openerp__.py (+1/-0)
hr_timesheet_invoice/test/test_hr_timesheet_invoice.yml (+37/-3)
hr_timesheet_invoice/test/test_hr_timesheet_invoice_no_prod_tax.yml (+120/-0)
hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py (+3/-4)
I invalidate this bug as it's not the way tax selection are defined in OpenERP.
The correct behaviour is to take from the product whenever the product is used.
If there is not tax on the product, there is no tax to apply.