← Back to team overview

openerp-dev-web team mailing list archive

[Merge] lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-psi2 into lp:~openerp-dev/openobject-addons/trunk-dev-addons3

 

Purnendu Singh (OpenERP) has proposed merging lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-psi2 into lp:~openerp-dev/openobject-addons/trunk-dev-addons3.

Requested reviews:
  OpenERP R&D Team (openerp-dev)
Related bugs:
  #568537 The __compute method of account_account needs optmization to improve Accounting Performance!
  https://bugs.launchpad.net/bugs/568537
  #588776 Error when closing fiscal year
  https://bugs.launchpad.net/bugs/588776
  #686508 Not able to validate sales receipt
  https://bugs.launchpad.net/bugs/686508
  #686513 Not able to validate supplier vouchers
  https://bugs.launchpad.net/bugs/686513
  #691218 add an employee to a department
  https://bugs.launchpad.net/bugs/691218
  #692139 Account Journal onchange_type method context undefined error
  https://bugs.launchpad.net/bugs/692139
  #692962 In hr contract, shouldn't be able to enter an end date lower than a start date
  https://bugs.launchpad.net/bugs/692962
  #693476 [6.0] sale manager dashboard - "Sales by Customer" - incomplete
  https://bugs.launchpad.net/bugs/693476
  #693810 [RC1]Pay button when you pay directly in Sales receipt form
  https://bugs.launchpad.net/bugs/693810
  #693833 [6.0] performance issues - stock_move, account_move_lines and others
  https://bugs.launchpad.net/bugs/693833
  #694937 [6.0] account entry analysis - unreconciled does not filter 
  https://bugs.launchpad.net/bugs/694937
  #695439 membership: can't open members via GTK client
  https://bugs.launchpad.net/bugs/695439
  #697080 Payment Invoice is not considering the currency in Invoice
  https://bugs.launchpad.net/bugs/697080
  #697207 Bug when sending followups without specifying any email address
  https://bugs.launchpad.net/bugs/697207
  #697714 Unclear warning on cancel opening entries
  https://bugs.launchpad.net/bugs/697714
  #699809 [6.0 and 5.0] Installing account_analytic_analysis you have a maximu of 2147 analytic accounts
  https://bugs.launchpad.net/bugs/699809
  #701895 [Trunk] account_analytic_plan  break the creation of inovice from analytic lines
  https://bugs.launchpad.net/bugs/701895
  #702027 [trunk]hr_payroll minor typos
  https://bugs.launchpad.net/bugs/702027
  #705043 Selection of multi-company products account in invoices lines
  https://bugs.launchpad.net/bugs/705043
  #713116 [V6.01] BIG ISSUE - Bank statement do not handle correctly partial payment
  https://bugs.launchpad.net/bugs/713116
  #716271 manager user  not get hr request send by employee 
  https://bugs.launchpad.net/bugs/716271
  #719063 [6.0] new user - much too many access rights
  https://bugs.launchpad.net/bugs/719063

For more details, see:
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-dev-addons3-psi2/+merge/49945

Hello sir,

fixes: for all hr_* modules
https://bugs.launchpad.net/openobject-addons/+bug/719063
      new user - much too many access rights  

Thanks,
PSI
-- 
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-dev-addons3-psi2/+merge/49945
Your team OpenERP R&D Team is requested to review the proposed merge of lp:~openerp-commiter/openobject-addons/trunk-dev-addons3-psi2 into lp:~openerp-dev/openobject-addons/trunk-dev-addons3.
=== modified file 'hr/security/hr_security.xml'
--- hr/security/hr_security.xml	2011-01-14 00:11:01 +0000
+++ hr/security/hr_security.xml	2011-02-16 10:54:02 +0000
@@ -9,5 +9,13 @@
     <record id="base.group_hr_user" model="res.groups">
         <field name="name">Human Resources / User</field>
     </record>
+
+     <record id="property_rule_employee" model="ir.rule">
+        <field name="name">Employee</field>
+        <field model="ir.model" name="model_id" ref="model_hr_employee"/>
+        <field name="domain_force">[('user_id','=',user.id)]</field>
+        <field name="groups" eval="[(4,ref('base.group_user'))]"/>
+    </record>
+
 </data>
 </openerp>

=== modified file 'hr_evaluation/hr_evaluation_demo.xml'
--- hr_evaluation/hr_evaluation_demo.xml	2011-01-14 00:11:01 +0000
+++ hr_evaluation/hr_evaluation_demo.xml	2011-02-16 10:54:02 +0000
@@ -1624,6 +1624,12 @@
             <field name="domain_force">['|',('employee_id.user_id','=',user.id),('employee_id.parent_id.user_id','=',user.id )]</field>
             <field name="groups" eval="[(4,ref('base.group_hr_manager'))]"/>
         </record>
-         </data>
+        <record id="property_rule_employee_evaluation" model="ir.rule">
+            <field name="name">Employee Evaluation</field>
+            <field model="ir.model" name="model_id" ref="model_hr_evaluation_evaluation"/>
+            <field name="domain_force">[('employee_id.user_id','=',user.id)]</field>
+            <field name="groups" eval="[(4,ref('base.group_user'))]"/>
+        </record>
+        </data>
 
 </openerp>

=== modified file 'hr_expense/security/ir_rule.xml'
--- hr_expense/security/ir_rule.xml	2011-01-17 11:35:21 +0000
+++ hr_expense/security/ir_rule.xml	2011-02-16 10:54:02 +0000
@@ -17,7 +17,7 @@
         <record id="property_rule_expense_employee" model="ir.rule">
             <field name="name">Employee Expense</field>
             <field model="ir.model" name="model_id" ref="model_hr_expense_expense"/>
-            <field name="domain_force">[('employee_id.user_id','=',user.id)]</field>
+            <field name="domain_force">['|', ('employee_id.user_id','=',user.id), ('department_id.manager_id.user_id','=',user.id)]</field>
             <field name="groups" eval="[(4,ref('base.group_user'))]"/>
         </record>
 

=== modified file 'hr_payroll/security/hr_security.xml'
--- hr_payroll/security/hr_security.xml	2011-01-14 00:11:01 +0000
+++ hr_payroll/security/hr_security.xml	2011-02-16 10:54:02 +0000
@@ -5,6 +5,12 @@
 <!--    <record id="group_hr_payroll" model="res.groups">-->
 <!--        <field name="name">Human Resources / Payroll</field>-->
 <!--    </record>-->
+     <record id="property_rule_employee_payroll" model="ir.rule">
+        <field name="name">Employee Payroll</field>
+        <field model="ir.model" name="model_id" ref="model_hr_payslip"/>
+        <field name="domain_force">[('employee_id.user_id','=',user.id)]</field>
+        <field name="groups" eval="[(4,ref('base.group_user'))]"/>
+    </record>
 
 </data>
 </openerp>
\ No newline at end of file