← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Yep Kyle, you are right, sending you a patch right now (we tested it
already).

On Fri, Dec 31, 2010 at 6:19 PM, Kyle Waid
<696090@xxxxxxxxxxxxxxxxxx>wrote:

> Public bug reported:
>
> 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)
>
> ** Affects: magentoerpconnect
>     Importance: Undecided
>         Status: New
>
> --
> You received this bug notification because you are subscribed to Magento
> Open ERP Connector.
> https://bugs.launchpad.net/bugs/696090
>
> Title:
>  Payment validation broken v6 trunk :(
>
> Status in Magento Open ERP Connector:
>  New
>
> 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)
>
>
>

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

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