Quantcast
Channel: OpenERP Help - Individual question feed
Viewing all articles
Browse latest Browse all 224

How to change a view that has been inherited from another module?

$
0
0
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.formstock.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.formstock.picking.out but I have this error: stock.picking.out.formstock.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

Viewing all articles
Browse latest Browse all 224