Dear All, I am trying to add a record rule to user for restricting him to see one stock location only. The rule is:
[["location.id","=",2]] But, when I click on 'Internal shipments' which use stock locations, it gives following error: KeyError: u 'location' Probably, the name 'location' used to refer the model 'stock.location' is not correct. Can anybody guide me what is the correct name for referring to 'stock.location'. By the way, is there any reference/manual which should be consulted to get the names of the Models for referring them in Record Rules? Regards, Khurram. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/35d4f186-08c8-4ef8-8bfc-8b6e060ffd5d%40googlegroups.com.
