fix issue regarding sec in payment
This commit is contained in:
parent
368abdb4cb
commit
cad945159e
|
|
@ -11,6 +11,7 @@
|
||||||
'website': "http://www.exp-sa.com",
|
'website': "http://www.exp-sa.com",
|
||||||
'depends': ['account', 'odex25_account_accountant'],
|
'depends': ['account', 'odex25_account_accountant'],
|
||||||
'data': [
|
'data': [
|
||||||
|
'security/ir.model.access.csv',
|
||||||
'security/security.xml',
|
'security/security.xml',
|
||||||
'views/account_payment_views.xml',
|
'views/account_payment_views.xml',
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<field name="show_journal" invisible="1"/>
|
<field name="show_journal" invisible="1"/>
|
||||||
</field>
|
</field>
|
||||||
<xpath expr="//notebook" position="inside">
|
<xpath expr="//notebook" position="inside">
|
||||||
<page string="Allowed Journals" attrs="{'invisible': [('show_journal', '=', False)]}">
|
<page string="Allowed Journals" >
|
||||||
<group>
|
<group>
|
||||||
<field string="Allowed Journals" name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/>
|
<field string="Allowed Journals" name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue