← Back to team overview

openerp-community-reviewer team mailing list archive

lp:~acsone-openerp/account-financial-tools/account_credit_control_portal_portal_lp1248906 into lp:account-financial-tools

 

Stéphane Bidoul (Acsone) has proposed merging lp:~acsone-openerp/account-financial-tools/account_credit_control_portal_portal_lp1248906 into lp:account-financial-tools.

Commit message:
[FIX] fix bug in account_credit_control preventing portal user to view their invoices

Requested reviews:
  Account Core Editors (account-core-editors)
Related bugs:
  Bug #1248906 in Account - Financial Tools: "account_credit_control prevents viewing invoices on portal"
  https://bugs.launchpad.net/account-financial-tools/+bug/1248906

For more details, see:
https://code.launchpad.net/~acsone-openerp/account-financial-tools/account_credit_control_portal_portal_lp1248906/+merge/194315

Here is a proposal to fix an issue preventing portal users to view their invoices.

The fix consists in allowing read access to credit control lines to portal users. The lines remain invisible on screen as the corresponding tab is reserved for specific accout credit control groups.
-- 
https://code.launchpad.net/~acsone-openerp/account-financial-tools/account_credit_control_portal_portal_lp1248906/+merge/194315
Your team Account Core Editors is requested to review the proposed merge of lp:~acsone-openerp/account-financial-tools/account_credit_control_portal_portal_lp1248906 into lp:account-financial-tools.
=== modified file 'account_credit_control/security/ir.model.access.csv'
--- account_credit_control/security/ir.model.access.csv	2013-07-12 11:57:49 +0000
+++ account_credit_control/security/ir.model.access.csv	2013-11-07 10:59:08 +0000
@@ -18,4 +18,5 @@
 "account_credit_control.ir_model_access_289",0,0,"group_account_credit_control_info","credit_control_info_level","account_credit_control.model_credit_control_policy_level",1,0
 "account_credit_control.ir_model_access_290",0,0,"account.group_account_user","credit_control_fin_user_line","account_credit_control.model_credit_control_line",1,0
 "account_credit_control.ir_model_access_291",0,0,"account.group_account_invoice","credit_control_fin_invoice_line","account_credit_control.model_credit_control_line",1,0
-"account_credit_control.ir_model_access_292",1,1,"account.group_account_manager","credit_control_fin_manager_line","account_credit_control.model_credit_control_line",1,1
\ No newline at end of file
+"account_credit_control.ir_model_access_292",1,1,"account.group_account_manager","credit_control_fin_manager_line","account_credit_control.model_credit_control_line",1,1
+"account_credit_control.ir_model_access_293",0,0,"portal.group_portal","credit_control_line_portal","account_credit_control.model_credit_control_line",1,0
\ No newline at end of file


Follow ups