← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 847630] Re: [6.1] account_voucher : onchange_partner_id method call to fix in few modules

 

** Patch added: "voucher_currency_id.patch"
   https://bugs.launchpad.net/bugs/847630/+attachment/2390316/+files/voucher_currency_id.patch

** Changed in: openobject-addons
       Status: New => Fix Committed

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

Title:
  [6.1] account_voucher : onchange_partner_id method call to fix in few
  modules

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  Hello,

  In 6.1, the signature of the voucher method onchange_partner_id changed.
  "currency_id" has been replaced by "voucher_currency_id"
  Then following modules must be updated:

  l10n_ch
  account_payment
  account_coda_import

  A patch proposal to change calls in those modules is attached.

  An other option could be to recover the preview signature for compatibility reasons.
  And to keep clarity in the code, doing a simple copy of in parameter currency_id into the voucher_currency_id variable.

  Regards,
  Yannick

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/847630/+subscriptions


References