chore: Update module version to Odoo 19, make xlsxwriter an optional dependency, and add a .gitignore file.

This commit is contained in:
Suherdy Yacob 2026-01-21 10:01:02 +07:00
parent 3ba80352b7
commit 63acfb6b79
3 changed files with 20 additions and 2 deletions

15
.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
# Python
*.py[cod]
__pycache__/
*.so
# Odoo
*.po~
*.pot~
# Editor / System
.DS_Store
.vscode/
*.swp
*.swo
*~

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
{ {
"name": "User Access Rights Export", "name": "User Access Rights Export",
"version": "17.0.1.0.0", "version": "19.0.1.0.0",
"category": "Settings/Technical", "category": "Settings/Technical",
"summary": "Export detailed user access rights (model ACLs and record rules) to Excel", "summary": "Export detailed user access rights (model ACLs and record rules) to Excel",
"description": """ "description": """

View File

@ -6,7 +6,10 @@ from datetime import datetime
from odoo import _, api, fields, models from odoo import _, api, fields, models
from odoo.exceptions import UserError from odoo.exceptions import UserError
from odoo.tools.misc import xlsxwriter try:
import xlsxwriter
except ImportError:
xlsxwriter = None
class UserAccessRightsWizard(models.TransientModel): class UserAccessRightsWizard(models.TransientModel):