Community mailing list archives

Re: How to disable Cancel Button in Sale Order for certain user

- 09/16/2016 22:10:49
Hi Andy,

Normally you can disable button / view using group user.
<record id="ID" model="ir.ui.view">
   <field name="name">name</field>
            <field name="model">model</field>
   <field name="inherit_id" ref="id_parent"/>
   <field name="groups_id" eval="[(6, 0, [ref('user group') ])]"/>
   <field name="arch" type="xml">
       <field name="" position = "attributes"> 
           <attribute name="invisible">1</attribute>

On Sat, Sep 17, 2016 at 8:47 AM, Andy Utomo <> wrote:
Dear all,

How to disable Cancel Button in sale Order and invoice  for certain user? 

Andy Utomo
Indoguna Utama PT
Jl. Taruna No 8 Pondok Bambu 
Jakarta Timur , 13430

Post to:

Best Regards,
Bima Jati Wijaya
IT Engineer Port Cities
IT solutions for International Trade, Manufacturing and e-Commerce

Your trusted partner in Asia