fix issue regarding sec in payment

This commit is contained in:
ronozoro 2024-10-13 16:47:07 -07:00
parent 368abdb4cb
commit cad945159e
No known key found for this signature in database
GPG Key ID: 7C2BDED35C62C0F3
3 changed files with 4 additions and 1 deletions

View File

@ -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',
],

View File

@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 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

View File

@ -10,7 +10,7 @@
<field name="show_journal" invisible="1"/>
</field>
<xpath expr="//notebook" position="inside">
<page string="Allowed Journals" attrs="{'invisible': [('show_journal', '=', False)]}">
<page string="Allowed Journals" >
<group>
<field string="Allowed Journals" name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/>
</group>