Openerp 在xml中继承inherit视图
在“product.template”中,我需要为我在xml文件中编写的一个视图添加两个字段,但问题是“accounts”的“inherit\u id”是从“product.product\u template\u form\u view”继承的。因此,我应该如何在文件中使用inherit\u id。 我尝试使用下面的代码,但显示错误,请帮助我 account.product_view.xml代码:Openerp 在xml中继承inherit视图,openerp,odoo-8,Openerp,Odoo 8,在“product.template”中,我需要为我在xml文件中编写的一个视图添加两个字段,但问题是“accounts”的“inherit\u id”是从“product.product\u template\u form\u view”继承的。因此,我应该如何在文件中使用inherit\u id。 我尝试使用下面的代码,但显示错误,请帮助我 account.product_view.xml代码: product.template.form.inherit 产品模板 5. 霉菌代码: g
product.template.form.inherit
产品模板
5.
霉菌代码:
gst\账户\视图\添加\表格\继承
产品模板
我需要将我的“cgst\u id”字段添加到“taxes\u id”字段下。您不需要给出完整路径 请尝试以下代码:
它可以工作了,谢谢