Hi,
I want change the view of stock_picking_out in my module. I know that I can inherit a view and changed, but the problem is that view has been inherited and changed for another module.
In other words, the module delivery change the view of stock_picking_out with this code:
stock.picking.out.form stock.picking.out
I want change this button but I can't called this button in my module that also inherit this view (stock_picking_out).
How I can do that?
Thank You
I'm trying do this:
stock.picking.out.form stock.picking.out
but I have this error:
stock.picking.out.form stock.picking.out
Traceback (most recent call last):
File "/opt/openerp/trunk/openerp/tools/convert.py", line 847, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/opt/openerp/trunk/openerp/tools/convert.py", line 807, in _tag_record
f_val = _eval_xml(self,field, self.pool, cr, self.uid, self.idref)
File "/opt/openerp/trunk/openerp/tools/convert.py", line 154, in _eval_xml
for n in node]), idref)
File "/opt/openerp/trunk/openerp/tools/convert.py", line 148, in _process
idref[id]=self.id_get(cr, id)
File "/opt/openerp/trunk/openerp/tools/convert.py", line 824, in id_get
res = self.model_id_get(cr, id_str)
File "/opt/openerp/trunk/openerp/tools/convert.py", line 833, in model_id_get
return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/opt/openerp/trunk/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/opt/openerp/trunk/openerp/tools/cache.py", line 46, in lookup
value = d[key] = self.method(self2, cr, *args)
File "/opt/openerp/trunk/openerp/addons/base/ir/ir_model.py", line 868, in get_object_reference
data_id = self._get_id(cr, uid, module, xml_id)
File "/opt/openerp/trunk/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/opt/openerp/trunk/openerp/tools/cache.py", line 46, in lookup
value = d[key] = self.method(self2, cr, *args)
File "/opt/openerp/trunk/openerp/addons/base/ir/ir_model.py", line 861, in _get_id
raise ValueError('No such external ID currently defined in the system: %s.%s' % (module, xml_id))
ValueError: No such external ID currently defined in the system: teste.report_shipping
Anyone helps me?
Thanks
↧