Hello, i tried to make a pdf document with all steps required to reproduce the bug.
Is this what you need ? Frank ** Attachment added: "bug 734497.pdf" https://bugs.launchpad.net/openobject-addons/+bug/734497/+attachment/1922779/+files/bug%20734497.pdf -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/734497 Title: hr_timesheet_invoice: reinvoicing is not correctly set on analytic account lines Status in OpenERP Modules (addons): Incomplete 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://www.openerp.com/forum/post77451.html the reason is 2 things: * account_move_line.create creates its own analytic invoice lines, ignoring the invoice lines supplied as values (so the whole hr_timesheet_invoice invoice lines creator logic is doing nothing) * 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 _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

