credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #01741
[Bug 871314] Re: cannot duplicate journal entries
Hello,
Since this is an important need for us, I applied the edits made in
revision 5366 to latest 6.0 code. The edits did indeed allow
duplication of edits, but had the side effect of not being able to do
manual delete of moves any longer.
We get the error: "Operation prohibited by access rules, or performed on
an already deleted document (Operation: read, Document type: ...."
Haven't had the chance to check this against the trunk, but I suspect it
has the same side effect.
Regards
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/871314
Title:
cannot duplicate journal entries
Status in OpenERP Addons (modules):
Fix Released
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