For the record, the fix for lp:948876 modified the fix for this one. -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/734497
Title: hr_timesheet_invoice: reinvoicing is not correctly set on analytic account lines Status in OpenERP Addons (modules): Fix Released 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 To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/734497/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

