[FIX] portal_sale: Portal users can read taxes groups
If a portal can read an `account.tax`, there is no reason he cannot read an `account.tax.group`. Without this read access on the tax groups, a portal user cannot print the invoice report from the portal, due to the `o._get_tax_amount_by_group()` call in the invoice report. opw-668973
This commit is contained in:
@@ -8,6 +8,7 @@ access_account_journal,account.journal,account.model_account_journal,base.group_
|
||||
access_product_list,product.pricelist,product.model_product_pricelist,base.group_portal,1,0,0,0
|
||||
access_res_partner,res.partner,base.model_res_partner,base.group_portal,1,0,0,0
|
||||
access_account_tax,account.tax,account.model_account_tax,base.group_portal,1,0,0,0
|
||||
access_account_tax_group,account.tax.group,account.model_account_tax_group,base.group_portal,1,0,0,0
|
||||
access_res_partner_category,res.partner.category,base.model_res_partner_category,base.group_portal,1,0,0,0
|
||||
access_product_attribute_portal,product.attribute portal,product.model_product_attribute,base.group_portal,1,0,0,0
|
||||
access_product_attribute_value_portal,product.attribute value portal,product.model_product_attribute_value,base.group_portal,1,0,0,0
|
||||
|
||||
|
Reference in New Issue
Block a user