This question has been flagged
1 Reply
2641 Views

I am trying to filter sales orders within my customers screen. I added a new field in sales_order table called x_order_type. I have added a record with the value in x_order_type to "lines".

I then added a page and the sale_order_ids link, which shows me all sales order related to the customer viewed. Is there any way of using the domain filter in the res.partner form view, to filter for only orders that have the value "lines" ?

Avatar
Discard
Author Best Answer

Is there no way to do this? Tried domain filter:

[('x_order_type','=',lines)]

But does not seem to work.

Avatar
Discard