Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
11105 Visualizzazioni

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.

Avatar
Abbandona

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

still waiting if anyone able to do this

Post correlati Risposte Visualizzazioni Attività
1
apr 23
3726
1
set 18
10830
2
dic 23
2642
0
mar 15
4397
1
giu 22
17057