This fix will complete the task 1965890 by allowing the user with access rights to edit fields (reference, account_id, taxes_ids & analytic_account_id) depending the sheet state. Also added Tests to check if access rights on expense lines are working well depending on the expense.sheet.state and the user group. Task ID 2226352 closes odoo/odoo#53862 X-original-commit: f42c812916a50438078210c020f6144c7417d365 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>