What steps will reproduce the problem?
1. Import orders
2. tried to manually add taxes in config but didn't worked
3.
What is the expected output? What do you see instead? Error
What version of the product are you using? On what operating system?
Magento : 1.701
Openerp : 6.1
ubuntu
Please provide any additional information below.
Error while importing orders :
No sale tax found with rate 0.0825/0.083/0.082
Error Found unsupported tax rate - skipping tax
Traceback (most recent call last):
File "/opt/openerp/server/openerp/addons/sneldev_magento/sneldev_magento.py", line 877, in import_orders
id_order_line = self.pool.get('sale.order.line').create(cr, uid, erp_sales_order_line)
File "/opt/openerp/server/openerp/osv/orm.py", line 4055, in create
vals = self._add_missing_default_values(cr, user, vals, context)
File "/opt/openerp/server/openerp/osv/orm.py", line 2369, in _add_missing_default_values
defaults = self.default_get(cr, uid, missing_defaults, context)
File "/opt/openerp/server/openerp/osv/orm.py", line 1526, in default_get
res = ir_values_obj.get(cr, uid, 'default', False, [self._name])
File "/opt/openerp/server/openerp/addons/base_calendar/base_calendar.py", line 1703, in get
meta, context, res_id_req, without_user, key2_req)
File "/opt/openerp/server/openerp/addons/base/ir/ir_values.py", line 463, in get
return self._map_legacy_model_list(models, do_get, merge_results=True)
File "/opt/openerp/server/openerp/addons/base/ir/ir_values.py", line 420, in _map_legacy_model_list
result = map_fn(model, res_id)
File "/opt/openerp/server/openerp/addons/base/ir/ir_values.py", line 459, in do_get
return self.get_defaults(cr, uid, model, condition=key2)
File "/opt/openerp/server/openerp/addons/base/ir/ir_values.py", line 299, in get_defaults
cr.execute(query, params)
File "/opt/openerp/server/openerp/sql_db.py", line 152, in wrapper
return f(self, *args, **kwargs)
File "/opt/openerp/server/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
InternalError: current transaction is aborted, commands ignored until end of
transaction block
Original issue reported on code.google.com by brainchi...@gmail.com on 30 Nov 2012 at 11:27
Original issue reported on code.google.com by
brainchi...@gmail.com
on 30 Nov 2012 at 11:27