openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09410
[Bug 951031] Re: l10n_tn cannot be installed
It was fixed,
next commit will include the fix.
** Changed in: openobject-addons
Assignee: Sofien Karray (skarray-b) => Zydoon (zydoon)
--
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/951031
Title:
l10n_tn cannot be installed
Status in OpenERP Addons (modules):
Won't Fix
Bug description:
When installing l10n_tn on 6.0.3
https://code.launchpad.net/~skarray-b/openobject-addons/l10n_tn
I got this error:
Error occurred while validating the field(s) type: Configuration
Error! You cannot define children to an account with internal type
different of "View"!
that generated this exception on the log:
openerp_db:ERROR:tools.convert.xml_import:Parse error in /usr/lib/python2.6/site-packages/openerp-server/addons/l10n_tn/account_pcg_tunisia.xml:39:
#012<record id="pcg_1011" model="account.account.template">
#012#011#011#011<field name="name">Capital souscrit - non appelé</field>
#012#011#011#011<field name="code">1011</field>
#012#011#011#011<field name="type">other</field>
#012#011#011#011<field name="user_type" ref="cpt_type_cp"/>
#012#011#011#011<field name="parent_id" ref="pcg_101"/>
#012#011#011</record>#012Traceback (most recent call last):
#012 File "/usr/lib/python2.6/site-packages/openerp-server/tools/convert.py", line 865, in parse
#012 self._tags[rec.tag](self.cr, rec, n)
#012 File "/usr/lib/python2.6/site-packages/openerp-server/tools/convert.py", line 832, in _tag_record
#012 id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
#012 File "/usr/lib/python2.6/site-packages/openerp-server/addons/base/ir/ir_model.py", line 691, in _update
#012 res_id = model_obj.create(cr, uid, values, context=context)
#012 File "/usr/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 3688, in create
#012 self._validate(cr, user, [id_new], context)
#012 File "/usr/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 946, in _validate
#012 raise except_orm('ValidateError', '\n'.join(error_msgs)
)
#012except_orm: ('ValidateError', u'Error occurred while validating the field(s) type: Configuration Error! \nYou cannot define children to an account with internal type different of "View"! ')
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/951031/+subscriptions
References