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

I need to create a new View which can´t be editable and the button Create has to be disabled, but the Import should stay.
With create = "false" the import option is disabled too, is there any option to keep it or I need to create a new button which makes the same action?
I use Odoo 8.
My code:

<record id="historic_quote_sale_order_tree_view" model="ir.ui.view">                
    <field name="name">historic.tree</field>               
    <field name="model">historic.sale.order</field>               
    <field name="arch" type="xml">                   
        <tree string="Historic Sale Form" create="false" edit="false">                           
            <field name="id_offer_register"/>                           
            <field name="id_offer"/>                           
            <field name="num_offer"/>                           
        </tree>               
    </field>       
</record>

Thanks in advance.

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

I'm asking myself the same question, if you found something

still waiting if anyone able to do this

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 23
3707
1
thg 9 18
10819
2
thg 12 23
2629
0
thg 3 15
4388
1
thg 6 22
17029