← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: Fix Committed


** Tags: voucher

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


Follow ups

References