← Back to team overview

openerp-india team mailing list archive

[Bug 871314] Re: cannot duplicate journal entries

 

@Ariel: hum honnestly, i wouldn't recommand to apply this modification in a stable production environnement at all as it changes the design of objects deeply. Some code may not work everywhere. Though, if you still want to take the risk you can 
*download the diff here: http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/diff/5366
*Then apply it manually (or using a tool like 'patch' but as it was made for trunk and not for v6 it will probably fail) by editing the files  in the same way (beware that the line numbers won't be the same because it was made for trunk and not for v6, so you need to find the right place by yourself).

But it will probably be easier for you to ask David Stonely for his v6
patch ^^

@David Stonely: i've tested in trunk and didn't get any problem at all.
Either your patch isn't exactly the same, either someone else fixed an
error i left in a further revision of trunk.

Regards,
Quentin

-- 
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/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