Merge lp:~openerp-dev/openobject-addons/trunk-bug-727711-ara into lp:openobject-addons

Proposed by Ashvin Rathod (OpenERP)
Status: Merged
Merged at revision: 4509
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-727711-ara
Merge into: lp:openobject-addons
Diff against target: 49 lines (+15/-3)
1 file modified
hr_payroll_account/hr_payroll_account_view.xml (+15/-3)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-727711-ara
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
Ashvin Rathod (OpenERP) (community) Needs Resubmitting
Review via email: mp+52007@code.launchpad.net

Description of the change

Hello,

Fix the bug: human resource Payroll
https://bugs.launchpad.net/openobject-addons/+bug/727711

Thanks,
ara

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Why did you remove view_hr_payslip_line_inherit_form ?

you have to create new XML id for your inheritance (Putting account id on form of payslip line available on payroll structure).

review: Needs Fixing
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

hello,

I have changed as you describe above.

Thanks,
ara

review: Needs Resubmitting
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_payroll_account/hr_payroll_account_view.xml'
2--- hr_payroll_account/hr_payroll_account_view.xml 2011-01-14 00:11:01 +0000
3+++ hr_payroll_account/hr_payroll_account_view.xml 2011-03-03 06:46:42 +0000
4@@ -44,6 +44,18 @@
5 </field>
6 </record>
7
8+ <record model="ir.ui.view" id="view_hr_employee_grade_inherit_form">
9+ <field name="name">hr.employee.grade.inherit.form</field>
10+ <field name="model">hr.payroll.structure</field>
11+ <field name="inherit_id" ref="hr_payroll.view_hr_employee_grade_form"/>
12+ <field name="type">form</field>
13+ <field name="arch" type="xml">
14+ <xpath expr="/form/notebook/page[@string='Salary Structure']/field[@name='line_ids']/form/group/field[@name='company_contrib']" position="before">
15+ <field name="account_id" required="1"/>
16+ </xpath>
17+ </field>
18+ </record>
19+
20 <record model="ir.ui.view" id="view_hr_payslip_inherit_form">
21 <field name="name">hr.payslip.inherit.form</field>
22 <field name="model">hr.payslip</field>
23@@ -57,7 +69,7 @@
24 </field>
25 </record>
26
27-
28+
29 <record id="view_hr_payslip_form_inherit_1" model="ir.ui.view">
30 <field name="name">hr.payslip.form.inherit1</field>
31 <field name="model">hr.payslip</field>
32@@ -166,7 +178,7 @@
33 </field>
34 </field>
35 </record>
36-
37+
38 <record id="view_hr_payslip_form_inherit" model="ir.ui.view">
39 <field name="name">hr.payslip.form</field>
40 <field name="model">hr.payslip</field>
41@@ -204,7 +216,7 @@
42 </page>
43 </field>
44 </record>
45-
46+
47 <record id="view_hr_payslip_form_inherit1" model="ir.ui.view">
48 <field name="name">hr.payslip.form</field>
49 <field name="model">hr.payslip</field>

Subscribers

People subscribed via source and target branches

to all changes: