openerp - How can I call a template from an inherited form view in Odoo 8 -


i beginner odoo 8.

i want use template (template id = "variants") in website_sale module in form view of "order lines" has external_id (ref="sale.view_order_form").

so made inheritance this:

<record id="multiple_variante_sale_order_form" model="ir.ui.view">          <field name="name">sale.order.form</field>          <field name="model">sale.order</field>          <field name="inherit_id" ref="sale.view_order_form"/>          <field name="arch" type="xml">             <xpath expr="//notebook/page/field/form/group/group/field[@name='product_id']" position="after">                    -- here want call template of wesite_sale <template id="variants" > --               </xpath>          </field> 

can this? if yes, how?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -