Hello. I need to hide the Import button for project module. How can i do this? Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi, Luis
You can define "create='0' " inside the tree view of the model in order to hide import button like below,
<tree string="My Model" create="0">
<field name="state" invisible="1"/>
</tree>
NOTE: It will hide import as well as create button.
So in case you only want to hide the "IMPORT" button then you can define "import=0" inside the tree view of the model.
e.g:
<tree string="My Model" import="0">
<field name="state" invisible="1"/>
</tree>
<field name="state" invisible="1"/>
</tree>
Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
Hello. I need to hide import but not create button.
Hi, Luis
Thanks for clarifying your query.
It that case, you can define "import='0' " inside the tree view of the model in order to hide import button like below,
<tree string="My Model" import="0">
<field name="state" invisible="1"/>
</tree>
Now I am updating my existing answer that's for your response.
Thanks,
Ashish Singh (Team Lead)
Webkul Software Private Limited
hello, i hide this by user groups. eliminating from user group:
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Reference: http://learnopenerp.blogspot.com/