Odoo record rule based on previous value

207 Views Asked by At

I need to create Odoo Record Rules to make sure a state field progressing according to allowed step.

allow => 'approved_by+manager' > 'approved_by_senior_manager'
denny => 'approved_by_manager' > 'approved_by_finance'

How to create such rule on Odoo Record Rules?

1

There are 1 best solutions below

0
On

You can add record rule according to particular action like only write operation perform by particular group. You can set domain one according to the previous state(Consider one step before). Like you can set read record rule and they can see only that records.