hr_timesheet_invoice: reinvoicing is not correctly set on analytic account lines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
I tried to configure reinvoicing on my openerp install, but despite correct (i think) settings in the analytic accounts, the "reinvoice" setting is not propagated to the invoice lines. This stops the re-invoicing task (recurring activities -> billing -> bill tasks) from working normally.
See http://
the reason is 2 things:
* account_
* the analytic account lines are then deleted and recreated again by account.validate, so even if i changed above behaviour, it would still not work.
proposed fix (see attached patch) is overriding account_move_line so that it changes the analytic lines to set the right to_invoice based on analytical account.
greetings,
Frank
Related branches
- Mustufa Rangwala (Open ERP) (community): Approve
- qdp (OpenERP): Pending requested
-
Diff: 23 lines (+15/-0)1 file modifiedhr_timesheet_invoice/hr_timesheet_invoice.py (+15/-0)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
hmm, seems uploading the patch didn't work. trying again