How to hide the edit button form based on state field of invoice Odoo v8?

前端 未结 3 1112
心在旅途
心在旅途 2021-01-06 05:07

I want to hide the edit button when a invoice\' state is paid, just like the image below.

\"enter

3条回答
  •  春和景丽
    2021-01-06 05:43

    Add a Record Rule for account.invoice object with Read permission alone. And a domain filter as [('state','=','paid')].

提交回复
热议问题