Pb with complex domain expressions
I have a problem with complex domain expressions ; it may be a bug of the OpenERP server, but it may also be a bad domain expression due to a bad comprehension of the way it is supposed to work.
In an ir.actions.
1) I want to filter on open invoice/refunds that are either from Asustek with country = Taiwan or from Direct PC with country = Belgium, so I write the following expression :
<field name="domain"
Result : it works OK.
2) I want to filter on open customer invoices that are either from Asustek with country = Taiwan or from Direct PC with country = Belgium, so I write the following expression :
<field name="domain"
Result : NOT OK, I get ALL the invoices !
I have this problem with OpenERP server branch 5.0 and branch 6.0 ; I wanted to test on trunk, but I can't find the "Modules" menu entry to install my module !
By the way, my source of information about complex domain expressions is this one :
http://
plus wikipedia to understand "polish expressions" and "arity".
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #816561.
Can you help with this problem?
Provide an answer of your own, or ask Alexis de Lattre for more information if necessary.