[FIX] l10n_ar_website_sale: fix access to AFIP in ecommerce

Steps to reproduce:
1. install l10n_ar_website_sale
2. try to checkout out using a guest account (without sigining in)
3. error on address form

very similar to:
https://github.com/odoo/odoo/pull/130455

Issue:
due to https://github.com/odoo/odoo/pull/118701 public users can't read
`l10n_ar.afip.responsibility.type` anymore

Fix:

open access to the models

opw-3460719

closes odoo/odoo#134226

X-original-commit: dc3a2be108989343ac62d6c42a064b1b39586bbf
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Mohamed Megahed Abbas Megahed SALLAM (mome) <mome@odoo.com>
This commit is contained in:
momegahed
2023-09-05 14:44:14 +00:00
parent 4736b2afd5
commit 631d34e8eb
2 changed files with 2 additions and 0 deletions
@@ -1,2 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_l10n_ar_afip_responsibility_type_all,l10n_ar.afip.responsibility.type.all,model_l10n_ar_afip_responsibility_type,base.group_user,1,0,0,0
access_l10n_ar_afip_responsibility_type_portal,l10n_ar.afip.responsibility.type.portal,model_l10n_ar_afip_responsibility_type,base.group_portal,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_l10n_ar_afip_responsibility_type_all l10n_ar.afip.responsibility.type.all model_l10n_ar_afip_responsibility_type base.group_user 1 0 0 0
3 access_l10n_ar_afip_responsibility_type_portal l10n_ar.afip.responsibility.type.portal model_l10n_ar_afip_responsibility_type base.group_portal 1 0 0 0
@@ -1,3 +1,4 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_latam_identification_type_all","latam id type all","model_l10n_latam_identification_type",base.group_user,1,0,0,0
"access_latam_identification_type_portal","latam id type portal","model_l10n_latam_identification_type",base.group_portal,1,0,0,0
"access_latam_identification_type_manager","latam id type manager","model_l10n_latam_identification_type","base.group_partner_manager",1,1,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_latam_identification_type_all latam id type all model_l10n_latam_identification_type base.group_user 1 0 0 0
3 access_latam_identification_type_portal latam id type portal model_l10n_latam_identification_type base.group_portal 1 0 0 0
4 access_latam_identification_type_manager latam id type manager model_l10n_latam_identification_type base.group_partner_manager 1 1 0 0