← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 705651] Re: Unable to configure UK Chart of Accounts

 

I just tried with the uk chart of accounts from extra-6.0. Same error:

Error occurred while validating the field(s) type: Configuration Error!
You cannot define children to an account with internal type different of
"View"!

** Changed in: openobject-addons
       Status: Invalid => New

-- 
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/705651

Title:
  Unable to configure UK Chart of Accounts

Status in OpenERP Modules (addons):
  New

Bug description:
  attempting to configure UK Chart of accounts with any fiscal year
  gives following error:

  ERROR:tools.convert.xml_import:Parse error in /Users/peterglock/Developer/openerp-server-6.0.0/bin/addons/l10n_chart_uk/account_chart.xml:170: 
  <record id="chart1001" model="account.account.template">
  			<field name="code">1001</field>
  			<field name="reconcile" eval="False"/>
  			<field name="parent_id" ref="uk_a_cash"/>
  			<field name="type">other</field>
  			<field name="user_type" ref="account_type_asset"/>
  			<field name="name">Stock</field>
  		</record>
  Traceback (most recent call last):
    File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/tools/convert.py", line 865, in parse
      self._tags[rec.tag](self.cr, rec, n)
    File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/tools/convert.py", line 832, in _tag_record
      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 )
    File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/addons/base/ir/ir_model.py", line 684, in _update
      res_id = model_obj.create(cr, uid, values, context=context)
    File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/osv/orm.py", line 3642, in create
      self._validate(cr, user, [id_new], context)
    File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/osv/orm.py", line 936, in _validate
      raise except_orm('ValidateError', '\n'.join(error_msgs))
  except_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"! ')
  Traceback (most recent call last):
    File "/Users/peterglock/Developer/openerp-client-6.0.0/bin/widget/view/form_gtk/parser.py", line 123, in button_clicked
      model.get_button_action(self.form.screen, id, self.attrs)
    File "/Users/peterglock/Developer/openerp-client-6.0.0/bin/widget/model/record.py", line 374, in get_button_action
      self.resource,attrs['name'], [id], context)
    File "/Users/peterglock/Developer/openerp-client-6.0.0/bin/rpc.py", line 186, in rpc_exec_auth
      return sock.exec_auth(method, *args)
    File "/Users/peterglock/Developer/openerp-client-6.0.0/bin/rpc.py", line 120, in exec_auth
      res = self.execute(method, self._uid, self._passwd, *args)
    File "/Users/peterglock/Developer/openerp-client-6.0.0/bin/rpc.py", line 137, in execute
      raise e
  tiny_socket.Myexception: ('warning -- ValidateError\n\nError occurred while validating the field(s) type: Configuration Error! \nYou cannot define children to an account with internal type different of "View"! ', 'Traceback (most recent call last):\n  File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/netsvc.py", line 489, in dispatch\n    result = ExportService.getService(service_name).dispatch(method, auth, params)\n  File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/service/web_services.py", line 599, in dispatch\n    res = fn(db, uid, *params)\n  File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/osv/osv.py", line 126, in wrapper\n    self.abortResponse(1, inst.name, \'warning\', inst.value)\n  File "/Users/peterglock/Developer/openerp-server-6.0.0/bin/netsvc.py", line 70, in abortResponse\n    raise Exception("%s -- %s\\n\\n%s"%(origin, description, details))\nException: warning -- ValidateError\n\nError occurred while validating the field(s) type: Configuration Error! \nYou cannot define children to an account with internal type different of "View"! \n')





References