I need to remove kanban view completely in sales. How could i inherit it in xpath and remove it. Could anyone please help me!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
Hi,
You can inherit the the corresponding action and remove the kanban from the view mode.
To Inherit an existing action in odoo, see: https://www.youtube.com/watch?v=8aGOHkee7i4
Thanks
Thanks, i tried it. But it does not work
can you show the code that you have tried
<record id="sale.action_orders" model="ir.actions.act_window">
<field name="name">Sales Orders</field>
<field name="view_mode">tree,form,calendar,pivot,graph,activity</field>
</record>
I removed kanban in view mode. It does not work @niyas
Can you open the corresponding action from the ui, and confirm it still have the kanban in the view mode or not.
I have tried this from ui and get succeeded
Yeah! You are right. Actually , In sale order form (v14),It shows the kanban view and i could see kanban icon. But in edit action, It does not have kanban in view mode.
Thanks! It works for all forms except sale order.
On the sales orders page, you want to:
1. enable debug
2. open developer tools > edit action
3. remove at the bottom the record with View Type='Kanban' and View='sale.order.kanban'
4. refresh page
Thanks, but i need to do it from back end.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
2
ago 25
|
2656 | ||
|
1
lug 25
|
1036 | ||
|
1
ago 25
|
1151 | ||
|
0
mag 25
|
1495 | ||
|
2
apr 25
|
3647 |