I am a beginner in odoo 8. I want to use the template (template id = "Variants") that is in the website_sale module in the form view of "Order lines" that has an external_id (ref="sale.view_order_form"). so I made inheritance like this:
<record id="multiple_variante_sale_order_form" model="ir.ui.view">
<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 I want to call the template of the wesite_sale <template id="Variants" > --
Can I do this? if yes, how can I do this?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/29/15, 6:57 AM|
|Seen: 825 times|
|Last updated: 5/5/15, 3:44 AM|