← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 718622] Re: [6.0] account - journal error switching from list to form

 

gass@cc-hp:~/OpenERP/trunk/openobject-server/6.0/bin> find . -follow -name "*xml" |xargs grep update_posted
./addons/cci_account/cci_account_data.xml:                      <field eval="0" name="update_posted"/>
./addons/cci_account/cci_account_data.xml:                      <field eval="0" name="update_posted"/>
./addons/account_simulation/account_simulation_view.xml:            <field name="update_posted" position="after">
./addons/l10n_ch/journal_data.xml:            <field name="update_posted" eval="True" />
./addons/l10n_ch/journal_data.xml:            <field name="update_posted" eval="True" />
./addons/l10n_ch/journal_data.xml:            <field name="update_posted" eval="True" />
./addons/l10n_ch/journal_data.xml:            <field name="update_posted" eval="True" />
./addons/l10n_ch/journal_data.xml:            <field name="update_posted" eval="True" />
./addons/l10n_ch/journal_data.xml:            <field name="update_posted" eval="True" />
./addons/account_cancel/account_cancel_view.xml:                    <field name="update_posted"/>

gass@cc-hp:~/OpenERP/trunk/openobject-server/6.0/bin> find . -follow -name "*py" |xargs grep update_posted
./addons/account/account.py:        'update_posted': fields.boolean('Allow Cancelling Entries', help="Check this box if you want to allow the cancellation the entries related to this journal or of the invoice related to this journal"),
./addons/account/account.py:            if not line.journal_id.update_posted:
gass@cc-hp:~/OpenERP/trunk/openobject-server/6.0/bin>


./addons/account_simulation/account_simulation_view.xml:            <field name="update_posted" position="after">
depends only on account, but no view of account has this view

I acknowledge that this is an "old" Tiny module which I installed
because I had it installed in v5


references not not existing

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

Title:
  [6.0] account - journal error switching from list to form

Status in OpenERP Modules (addons):
  Incomplete

Bug description:
  
  Environment Information : 
  System : Linux-2.6.34.7-0.7-desktop-x86_64-with-SuSE-11.3-x86_64
  OS Name : posix
  LSB Version:	core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
  Distributor ID:	SUSE LINUX
  Description:	openSUSE 11.3 (x86_64)
  Release:	11.3
  Codename:	n/a
  Operating System Release : 2.6.34.7-0.7-desktop
  Operating System Version : #1 SMP PREEMPT 2010-12-13 11:13:53 +0100
  Operating System Architecture : 64bit
  Operating System Locale : de_DE.ISO8859-1
  Python Version : 2.6.5
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :1805 nch@xxxxxxxxxxx-20110204062049-cinbbgay477geqem
  Traceback (most recent call last):
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/addons/audittrail/audittrail.py", line 511, in execute
      res = my_fct(db, uid, model, method, *args)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/addons/audittrail/audittrail.py", line 495, in my_fct
      return fct_src(db, uid, model, method, *args)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/orm.py", line 1591, in fields_view_get
      result['arch'] = _inherit_apply_rec(inherit_result, sql_res[3])
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/orm.py", line 1586, in _inherit_apply_rec
      result = _inherit_apply(result, inherit, id)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/orm.py", line 1528, in _inherit_apply
      raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id)
    File "/home2/gass/OpenERP/trunk/openobject-server/6.0/bin/osv/orm.py", line 1442, in raise_view_error
      'model': self._name, })
  AttributeError: View definition error for inherited view 'account_simulation.view_account_journal_form_inherit_simul' on 'account.journal' model: Element '<field name="update_posted">' not found in parent view 'account.view_account_journal_form'





References