Use case : how to order helpdesk tickets based on the kanban_state field?
https://drive.google.com/file/d/1XNDcyx2Kcog40WlGug3kHg80GhvTozKh/view
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
STEPS
1) Activate the developer mode
2) Enter studio while on the kanban view you'd like to impact
3) Change the default group by in Studio. Select the field that you want the records to be ordered with (here : kanban_state)
4) Find the inherited view generated by point 3
5) In the inherited view, replace "default_group_by" by "default_order"
6) Save and enjoy a good mojito
INHERITED VIEW
<data>
<xpath expr="//kanban[1]" position="attributes">
<attribute name="default_order">kanban_state</attribute>
</xpath>
</data>
awesome. cheers!
It works well for me, thanks :)
I tried first to have the sorting rules into ir.filters => ['customer_rank desc'] doesnt work
Inherited kanban view with below works :
customer_rank desc
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
1
toukok. 25
|
856 | ||
|
2
marrask. 24
|
2395 | ||
|
0
lokak. 24
|
1243 | ||
|
1
heinäk. 24
|
1375 | ||
Cookie banner in Odoo website
Ratkaistu
|
|
2
huhtik. 24
|
5951 |