Error occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition

Bug #1182676 reported by luis alberto medina on 2013-05-21
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP-Asterisk connector
Undecided
Unassigned

Bug Description

Hi Have this error to update the module click to dial in Openerp 6.1

Error occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition

-----------------------

2013-05-21 22:36:14,913 11660 INFO erpmexico openerp.modules.loading: module asterisk_click2dial: loading wizard/reformat_all_phonenumbers_view.xml
2013-05-21 22:36:14,943 11660 ERROR erpmexico openerp.tools.convert: Parse error in /home/erp/Documents/openerp/erp61/6.1/openerp/addons/asterisk_click2dial/wizard/reformat_all_phonenumbers_view.xml:26:
<record id="reformat_all_phonenumbers_action" model="ir.actions.act_window">
    <field name="name">Reformat all phone numbers</field>
    <field name="res_model">reformat.all.phonenumbers</field>
    <field name="view_type">form</field>
    <field name="view_mode">form</field>
    <field name="target">new</field>
</record>
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1-py2.6.egg/openerp/tools/convert.py", line 890, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1-py2.6.egg/openerp/tools/convert.py", line 857, 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 "/home/erp/Documents/openerp/erp61/6.1/openerp/addons/base/ir/ir_model.py", line 739, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1-py2.6.egg/openerp/osv/orm.py", line 4215, in create
    self._validate(cr, user, [id_new], context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-6.1-py2.6.egg/openerp/osv/orm.py", line 1466, in _validate
    raise except_orm('ValidateError', '\n'.join(error_msgs))
except_orm: ('ValidateError', 'Error occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition.')
2013-05-21 22:36:14,943 11660 ERROR erpmexico openerp.netsvc: ValidateError
Error occurred while validating the field(s) res_model,src_model: Invalid model name in the action definition.

-------------------------------

Thank you

Hello.
I'm also affected by this bug.
Although I think it may not be really a BUG, but something I'm doing wrong.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers