I want to hide the highlighted part (Actions)in odoo17 community edition
what are possibilities ?
so that user cannot create new company or can export or import any record related to companies.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Apskaita
- Atsarga
- PoS
- Project
- MRP
This question has been flagged
Hi,
To block importing and creating of records, You can just give import="0" or import="false" and create = "false" in the tree view XML code.
Example:
<tree create="false" import="false">
</tree>
Inherit tree view of the company model and add this attribute, You can use following code,
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<templates id="template">
<record id="view_company_tree" model="ir.ui.view">
<field name="name">res.company.
<field name="model">res.company</
<field name="inherit_id" ref="base.view_company_tree"/>
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="create">0</attribute>
<attribute name="import">0</attribute>
</xpath>
</field>
</record>
</odoo>
Hope it helps,
Normal users will not have access to create companies. It only applies to the Access Rights group
You can block users from exporting data in the user setup (though this applies to all Models)
Nice
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistracijaRelated Posts | Replies | Rodiniai | Veikla | |
---|---|---|---|---|
|
0
kov. 24
|
1750 | ||
|
4
geg. 25
|
9664 | ||
|
2
gruod. 24
|
6620 | ||
|
3
bal. 24
|
6209 | ||
|
1
saus. 24
|
4117 |