I have been developing module for OpenERP-7. I wanted to know that how can I disable create/delete button for specific function. Like I am clicking on a button to open a tree view. All I want is to disable the create button form top of that tree view. How can I achieve this in OpenERP. I dont have any other ml view for this tree view. I am calling the only tree view. But this time I dont need the create/discard button. Can anyone guide me how to do this. Hopes for suggestion and guidance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
1
Vastaa
10115
Näkymät
Hi
Try this code
<tree string="Your Tree view name" edit="false" create="false" delete="false">
This code remove create,write and delete button
But this will remove create/delete button from every tree view of the model. I just want to disable them when coming through my specific button
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
2
jouluk. 23
|
13619 | ||
|
|
3
heinäk. 22
|
24038 | ||
|
|
2
kesäk. 21
|
19256 | ||
|
|
0
syysk. 20
|
4245 | ||
|
|
0
toukok. 16
|
4724 |