[IMP] web_disable_export_group: Differenciate between the XLSX export and the standard export

This commit is contained in:
Enric Tobella
2021-10-26 17:06:13 +02:00
parent 52f03bd359
commit 8f16bbf3f8
7 changed files with 81 additions and 2 deletions

View File

@@ -15,6 +15,8 @@ class Http(models.AbstractModel):
{
"group_export_data": user
and user.has_group("web_disable_export_group.group_export_data"),
"group_xlsx_export_data": user
and user.has_group("web_disable_export_group.group_export_xlsx_data"),
}
)
return res