openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08675
[Bug 948778] Re: base_sale_multichannels needs changes
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => Sébastien BEAU - http://www.akretion.com (sebastien.beau)
--
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/948778
Title:
base_sale_multichannels needs changes
Status in OpenERP Addons (modules):
Confirmed
Bug description:
File "/usr/local/openerp/6.1/addons/magentoerpconnect/sale.py", line 743, in mage_import_base
result = self.mage_import_one_by_one(cr, uid, conn, external_referential_id, mapping_id[0], order_ids_filtred, defaults, context)
File "/usr/local/openerp/6.1/addons/magentoerpconnect/magerp_osv.py", line 279, in mage_import_one_by_one
rec_result = self.ext_import(cr, uid, rec_data, external_referential_id, defaults, context)
File "/usr/local/openerp/6.1/addons/magentoerpconnect/sale.py", line 690, in ext_import
res = super(sale_order, self).ext_import(order_cr, uid, data, external_referential_id, defaults=defaults, context=context)
File "/usr/local/openerp/6.1/addons/base_external_referentials/external_osv.py", line 383, in ext_import
existing_rec_id = self.oe_create(cr, uid, vals, each_row, external_referential_id, defaults, context=context)
File "/usr/local/openerp/6.1/addons/base_sale_multichannels/sale.py", line 440, in oe_create
self.oe_status_and_paid(cr, uid, order_id, data, external_referential_id, defaults, context)
File "/usr/local/openerp/6.1/addons/base_sale_multichannels/sale.py", line 434, in oe_status_and_paid
is_paid = self.create_payments(cr, uid, order_id, data, context)
File "/usr/local/openerp/6.1/addons/magentoerpconnect/sale.py", line 620, in create_payments
self.generate_payment_with_pay_code(cr, uid, payment['method'], order.partner_id.id, float(amount), "mag_" + payment['payment_id'], "mag_" + data_record['increment_id'], order.date_order, paid, context)
File "/usr/local/openerp/6.1/addons/base_sale_multichannels/sale.py", line 472, 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/openerp/6.1/addons/base_sale_multichannels/sale.py", line 480, in generate_payment_with_journal
currency_id = data['currency_id']
KeyError: 'currency_id'
Demo data, current sources. You will notice in OpenERP 6.0 there is column currency_id but in 6.1 this does not exist on object voucher
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/948778/+subscriptions
References