c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06214
[Bug 682790] Re: Base_sale_multichannels Payment Validation
Hello,
Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thanks.
** Changed in: openobject-addons
Status: New => Won't Fix
--
Base_sale_multichannels Payment Validation
https://bugs.launchpad.net/bugs/682790
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Won't Fix
Bug description:
Newest Branch extra-addons-trunk, addons, openobject-server
Maverick 10.10 linux
If validate payment box is checked, error returned. If validate payment box not checked. No error.
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp6-module/sale.py", line 133, in import_shop_orders
resp = self.pool.get('sale.order').mage_import_base(cr, uid, context.get('conn_obj', False), shop.referential_id.id, defaults=defaults, context={'one_by_one': True, 'ids_or_filter':ids_or_filter})
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp6-module/magerp_osv.py", line 236, in mage_import_base
rec_result = self.ext_import(cr, uid, rec_data, external_referential_id, defaults, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base_external_referentials/external_osv.py", line 206, in ext_import
crid = self.oe_create(cr, uid, vals, each_row, external_referential_id, defaults, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp6-module/sale.py", line 404, in oe_create
paid = self.create_payments(cr, uid, data, order_id, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/openerp6-module/sale.py", line 421, in create_payments
self.generate_payment_with_pay_code(cr, uid, payment['method'], order.partner_id.id, amount, "mag_" + payment['payment_id'], "mag_" + data_record['increment_id'], order.date_order, paid, context)
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 317, in generate_payment_with_journal
self.pool.get('account.bank.statement').button_confirm(cr, uid, [statement_id], context)
AttributeError: 'account.bank.statement' object has no attribute 'button_confirm'
Error reproduced on clean install, every time.
References