mmm... rileggendo il mio post mi accorgo di non essermi espresso correttamente. La domanda corretta è: come può esserci uno spazio nell' id???
In pratica io ottengo questo errore... e secondo me il problema è causato da quegli spazi, che io ho copiato pari dal modulo commission, senza capire cosa siano.
[2011-03-30 20:55:41,581][terp] ERROR:tools.convert.xml_import:Parse error in /openerp-server/addons/productcommission/productcommission_view.xml:47:
<record model="ir.actions.act_window" id="action_sales productowner productcommission_tree_month">
<field name="name">Product Owner Commission</field>
<field name="res_model">report.productcommission.month</field>
<field name="view_type">form</field>
<field name="view_mode">tree</field>
<field name="domain">[('so_date','like',time.strftime('%Y')-1)]</field>
</record>
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/convert.py", line 865, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/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 "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/ir/ir_model.py", line 686, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 3642, in create
self._validate(cr, user, [id_new], context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 936, 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.')