← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 696090] Re: Payment validation broken v6 trunk :(

 

On behalf of myself and others who use your free software we sincerely
appreciate it, when you take such dedication to fix issues as they are
reported.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/696090

Title:
  Payment validation broken v6 trunk :(

Status in Magento Open ERP Connector:
  Fix Released

Bug description:
  It appears there may have been additional accounting changes in the v6 trunk. Trying to validate payments gives this error.

  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_sale_multichannels/sale.py", line 293, in generate_payment_with_pay_code
    return self.generate_payment_with_journal(cr, uid, payment_settings.journal_id.id, partner_id, amount, payment_ref, entry_name, date, payment_settings.validate_payment, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_sale_multichannels/sale.py", line 299, in generate_payment_with_journal
    data = voucher_obj.onchange_partner_id(cr, uid, [], partner_id, journal_id, int(amount), False, 'receipt')['value']
TypeError: onchange_partner_id() takes at least 10 arguments (9 given)





References