hello, I want to hide or put a menu in the actions of the sale.order model depending on the state field
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
1832
瀏覽次數
you can hide menu depends on state field replace this code for button menu
button name="(enter your button name)" string="(enter your string)" type="object" attrs="{'invisible':['|','|',('interested','=',True),('state','!=','draft'),('state','!=','confirmed')]}" class="oe_highlight"
Feel free for further assistance on contact@geminatecs.com
Thank you
Geminate Consultancy Services