[FIX] website_sale_payment_terms: give public user read access to payment terms

This commit is contained in:
Cedric Collins
2021-09-27 11:11:19 -05:00
parent 9dc931a9f5
commit 1f69eaf1ad
2 changed files with 3 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ Allow customers to choose payment terms if order total meets a configured thresh
], ],
'auto_install': False, 'auto_install': False,
'data': [ 'data': [
'security/ir.model.access.csv',
'views/account_views.xml', 'views/account_views.xml',
'views/res_config_views.xml', 'views/res_config_views.xml',
'views/web_assets.xml', 'views/web_assets.xml',

View File

@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_account_payment_term_public,account.payment.term.public,account.model_account_payment_term,,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_payment_term_public account.payment.term.public account.model_account_payment_term 1 0 0 0