← Back to team overview

openerp-india team mailing list archive

[Bug 1283510] [NEW] Duplicate ID in portal_sale security/ACL

 

Public bug reported:

ACL rule with id='access_account_fiscalyear' is accidentally specified
twice in portal_sale/security/ir.model.access.csv file.

The first rule (for object account.sequence.fiscalyear) is hence not
loaded.

A short Patch follows:

=== modified file 'portal_sale/security/ir.model.access.csv'
--- portal_sale/security/ir.model.access.csv	2012-12-05 14:40:51 +0000
+++ portal_sale/security/ir.model.access.csv	2014-02-22 17:46:16 +0000
@@ -10,7 +10,7 @@
 access_account_move,account.move,account.model_account_move,portal.group_portal,1,0,0,0
 access_account_move_line,account.move.line,account.model_account_move_line,portal.group_portal,1,0,0,0
 access_account_move_reconcile,account.move.reconcile,account.model_account_move_reconcile,portal.group_portal,1,0,0,0
-access_account_fiscalyear,account.sequence.fiscalyear,account.model_account_sequence_fiscalyear,portal.group_portal,1,0,0,0
+access_account_sequence_fiscalyear,account.sequence.fiscalyear,account.model_account_sequence_fiscalyear,portal.group_portal,1,0,0,0
 access_sale_shop,sale.shop,sale.model_sale_shop,portal.group_portal,1,0,0,0
 access_product_list,product.pricelist,product.model_product_pricelist,portal.group_portal,1,0,0,0
 access_res_partner,res.partner,base.model_res_partner,portal.group_portal,1,0,0,0

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Summary changed:

- Duplicate id in portal_sale security/ACL
+ Duplicate ID in portal_sale security/ACL

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1283510

Title:
  Duplicate ID in portal_sale security/ACL

Status in OpenERP Addons (modules):
  New

Bug description:
  ACL rule with id='access_account_fiscalyear' is accidentally specified
  twice in portal_sale/security/ir.model.access.csv file.

  The first rule (for object account.sequence.fiscalyear) is hence not
  loaded.

  A short Patch follows:

  === modified file 'portal_sale/security/ir.model.access.csv'
  --- portal_sale/security/ir.model.access.csv	2012-12-05 14:40:51 +0000
  +++ portal_sale/security/ir.model.access.csv	2014-02-22 17:46:16 +0000
  @@ -10,7 +10,7 @@
   access_account_move,account.move,account.model_account_move,portal.group_portal,1,0,0,0
   access_account_move_line,account.move.line,account.model_account_move_line,portal.group_portal,1,0,0,0
   access_account_move_reconcile,account.move.reconcile,account.model_account_move_reconcile,portal.group_portal,1,0,0,0
  -access_account_fiscalyear,account.sequence.fiscalyear,account.model_account_sequence_fiscalyear,portal.group_portal,1,0,0,0
  +access_account_sequence_fiscalyear,account.sequence.fiscalyear,account.model_account_sequence_fiscalyear,portal.group_portal,1,0,0,0
   access_sale_shop,sale.shop,sale.model_sale_shop,portal.group_portal,1,0,0,0
   access_product_list,product.pricelist,product.model_product_pricelist,portal.group_portal,1,0,0,0
   access_res_partner,res.partner,base.model_res_partner,portal.group_portal,1,0,0,0

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1283510/+subscriptions


Follow ups

References