diff --git a/odex25_accounting/odex25_account_payment_fix/__manifest__.py b/odex25_accounting/odex25_account_payment_fix/__manifest__.py index 13885e3d5..e77170be1 100644 --- a/odex25_accounting/odex25_account_payment_fix/__manifest__.py +++ b/odex25_accounting/odex25_account_payment_fix/__manifest__.py @@ -11,6 +11,7 @@ 'website': "http://www.exp-sa.com", 'depends': ['account', 'odex25_account_accountant'], 'data': [ + 'security/ir.model.access.csv', 'security/security.xml', 'views/account_payment_views.xml', ], diff --git a/odex25_accounting/odex25_account_payment_fix/security/ir.model.access.csv b/odex25_accounting/odex25_account_payment_fix/security/ir.model.access.csv new file mode 100644 index 000000000..45a119f0b --- /dev/null +++ b/odex25_accounting/odex25_account_payment_fix/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_stock_valuation_layer_account_user,access_stock_valuation_layer_account_user user,stock_account.model_stock_valuation_layer,base.group_user,1,1,1,1 diff --git a/odex25_accounting/pw_restrict_account_journal/views/res_user_view.xml b/odex25_accounting/pw_restrict_account_journal/views/res_user_view.xml index ba98f18c9..7ddae2c37 100755 --- a/odex25_accounting/pw_restrict_account_journal/views/res_user_view.xml +++ b/odex25_accounting/pw_restrict_account_journal/views/res_user_view.xml @@ -10,7 +10,7 @@ - +