From 09e2125615278715ba402014c3908372ba2b0ab8 Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Thu, 12 Mar 2026 09:48:57 +0700 Subject: [PATCH] refactor: Update GA asset security groups to use privileges, add asset fields to stock picking view, and ignore `*.pyc` files. --- .gitignore | 1 + security/ga_asset_security.xml | 10 +++++++--- views/stock_picking_views.xml | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 862c238..8b1a546 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ __pycache__/ *.py[cod] *$py.class +*.pyc # Odoo *.log diff --git a/security/ga_asset_security.xml b/security/ga_asset_security.xml index af4a7fa..b662218 100644 --- a/security/ga_asset_security.xml +++ b/security/ga_asset_security.xml @@ -7,17 +7,21 @@ 10 + + General Affair Assets + + + User - + Manager - + - diff --git a/views/stock_picking_views.xml b/views/stock_picking_views.xml index 0deeca9..3447df6 100644 --- a/views/stock_picking_views.xml +++ b/views/stock_picking_views.xml @@ -13,7 +13,7 @@ invisible="state != 'assigned'" groups="ga_asset_management.group_ga_asset_user"/> - +