Community mailing list archives
Re: Record rule to forbid sale less priceby
No comment after 3 days ?!
Another way of the question:
If an object have FieldA FieldB how can I say FieldA = FieldB in a domain filter ?
why filters do not pares the 2nd field although it's in the same object like the 1st one ?
I created this security rule for order line object and it's
but it raises the below error:
ValueError: "name 'product_id' is not defined" while evaluating u"[('price_unit','>=',[product_id.lst_price])]"
why it can't find the 2nd field of the same object which in this case product_id ?
in general how can I say field A = field B in a filter ?
I found that it expects the 2nd part to be user.ANY_FIELD or a raw value only .
Any help is very appreciated .