i want to filter by picking state but when i use this filter it does nothing. any suggestions?
<record id="view_sale_order_search_picking_state" model="ir.ui.view">
<field name="name">picking state</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_sales_order_filter" />
<field name="arch" type="xml">
<field name="user_id" position="after">
<field name="picking_state"/>
</field>
<filter name="sales" position="after">
<filter string="Picking state" domain="[('picking_state', '=', 'confirmed')]" />
</filter>
</field>
</record>
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
1
Reply
2425
Views
Field picking_state not exists in model sale.order !?
Your Odoo version? Installed addons?
Yeh, i found out its field from a custom module so maybe that's why it's not working. But any tips how can I filter sale order by picking state?
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 24
|
3692 | ||
|
0
Feb 24
|
534 | ||
|
1
Feb 23
|
2302 | ||
How to add custom filter?
Solved
|
|
8
Apr 22
|
82462 | |
|
1
Oct 21
|
1526 |