← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 689538] Re: [6.0-rc1] Tools.convert error when creating new base

 

so, I put this line in comments but still get the error :

[2010-12-13 10:12:34,332][mwp_06] INFO:init:module marketing: loading marketing_view.xml
[2010-12-13 10:12:34,369][mwp_06] ERROR:tools.convert.xml_import:Parse error in /usr/local/lib/python2.6/dist-packages/openerp-server/addons/marketing/marketing_view.xml:40:
<record id="action_marketing_installer" model="ir.actions.act_window">
            <field name="name">Marketing Applications Configuration</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">marketing.installer</field>
<!--            <field name="view_id" ref="view_marketing_installer"/> -->
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>
[2010-12-13 10:12:34,370][mwp_06] DEBUG_RPC:exception:u'warning -- ValidateError\n\nError occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition.'

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

Title:
  [6.0-rc1] Tools.convert error when creating new base

Status in OpenObject Addons Modules:
  New

Bug description:
  Hello,

I just tried to create a new base with the updated code of this morning and here's the error  I get ;

on the display : 

Warning : Error occured while validating the field(sO res_model, src_model: Invalid model name in the action defintion

and on the server :

[2010-12-13 09:17:11,785][mwp_06] ERROR:tools.convert.xml_import:Parse error in /usr/local/lib/python2.6/dist-packages/openerp-server/addons/marketing/marketing_view.xml:40:
<record id="action_marketing_installer" model="ir.actions.act_window">
            <field name="name">Marketing Applications Configuration</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">marketing.installer</field>
            <field name="view_id" ref="view_marketing_installer"/>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>
[2010-12-13 09:17:11,786][mwp_06] DEBUG_RPC:exception:u'warning -- ValidateError\n\nError occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition.'
[2010-12-13 09:17:11,786][mwp_06] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/netrpc_server.py", line 70, in run
    result = self.dispatch(msg[0], msg[1], msg[2:])
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 499, in dispatch
    raise OpenERPDispatcherException(e, tb_s)
OpenERPDispatcherException





References