Hello Mustufa, The purpose of my patch is indeed to make the duplication of account.move useful, not account.move.line.
The point, though, is that when you duplicate an account.move, you usually want to change the period, which is currently not possible since the period is duplicated on each move.line. Therefore my patch propagates a change of period (and journal) on account.move to the account.move.line's inside the move. IMHO, this is rather safe, and a huge plus for accountants. This is somewhat related to issue #777640, although I don't quite understand the patch propsed on that one. Best regards, -sbi -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to OpenERP Project Group. https://bugs.launchpad.net/bugs/871314 Title: cannot duplicate journal entries Status in OpenERP Addons (modules): Confirmed Bug description: How to reproduce: - select an existing journal entry - click duplicate - change the period or journal on the new journal entry - click save -> Error occurred while validating the field(s) line_id: You cannot create entries on different periods/journals in the same move The attached patch solves this by propagating the change on the move object to the move lines. Best regards, -sbi To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/871314/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

