Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6553 Lượt xem


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="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 I want to call the template of the wesite_sale <template id="Variants" > --
            </xpath>
         </field>

Can I do this? if yes, how can I do this?

Ảnh đại diện
Huỷ bỏ

Hello any one have to solution or give some hint to inherit template in form view i want to use import button or functionality at the sale order line for importing data from sale order line

Câu trả lời hay nhất

Yes i think you can do that

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 21
5340
0
thg 6 23
1824
0
thg 7 21
2037
0
thg 4 21
1735
1
thg 10 15
4805