task work entries do not make it into uninvoiced enrties

Bug #351678 reported by Ferdinand
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

revno 2268
I assume that the entries in "task work" should be available for invoicing
The chain is
- task work -> task -> project -> analytic account -> ( is this needed ? user/product relation -> - product -price ) -> analytic entry

in timesheet the field "Invoicing" can be set and hence all entries originating from there can be invoiced
in "Task/task work" it is not possible to set "invoicing" so invoicing is not possible.

boaring workaround - update the fields in timesheet
or
update account_analytic_line set to_invoice=<invoice_rate_id> where to_invoice is null;

Revision history for this message
Ferdinand (office-chricar) wrote :

btw , in 4.2 there was a field "Invoicing" in analytic accounts section "Invoicing Data" which has gone - but is usefull to distinguish between external/billable and internal projects
But IMHO it was not used to set "to_invoice" of analytic lines to the value found in the account..

Revision history for this message
Ferdinand (office-chricar) wrote :

it has got another name "Invoicing" > "Reinvoice Costs" - whatever that means ?!

Revision history for this message
Ferdinand (office-chricar) wrote :

a better statement

update account_analytic_line as l
 set to_invoice= (select a.to_invoice from account_analytic_account a
                           where a.id=l.account_id )
;

Revision history for this message
Ferdinand (office-chricar) wrote :

If a default value for invoicing is set in timesheet - it seems to be used for task work too - regardless what is defined in analytic account. IMHO this shouldn't be.

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

fixed in branch/5.

Changed in openobject-addons:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.