c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13677
[Bug 704311] Re: l10n_ch taxes 2011 Beta 1
Hello,
The l10n_ch has to be installed with zero digit, the default value is the right one.
The problem comes from the way that account are generated in the hearth of OpenERP does not match the swiss numeration.
One solution will be to put the decimal fields in read only. The other
way will be to be able to have only non view account having numeration
using digit parameters.
Regards
Nicolas
--
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/704311
Title:
l10n_ch taxes 2011 Beta 1
Status in OpenERP Modules (addons):
Incomplete
Bug description:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1973, in create
vals = self._add_missing_default_values(cr, user, vals, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1875, in _add_missing_default_values
defaults[dv] = [(0, 0, x) for x in defaults[dv]]
TypeError: 'bool' object is not iterable
References