Merge lp:~serpent-consulting-services/openobject-addons/6.1-960872-SerpentCS into lp:openobject-addons/6.1

Proposed by Serpent Consulting Services
Status: Approved
Approved by: Rifakat Husen (OpenERP)
Approved revision: 6748
Proposed branch: lp:~serpent-consulting-services/openobject-addons/6.1-960872-SerpentCS
Merge into: lp:openobject-addons/6.1
Diff against target: 36 lines (+4/-3)
1 file modified
account/account_view.xml (+4/-3)
To merge this branch: bzr merge lp:~serpent-consulting-services/openobject-addons/6.1-960872-SerpentCS
Reviewer Review Type Date Requested Status
Rifakat Husen (OpenERP) (community) Approve
Review via email: mp+102967@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hi Serpent Consulting Services,

It works.
Thanks for your fix.

Regards,
Rifakat Haradwala

review: Approve
Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Rifakat(OpenERP),

Thanks for the approval.

Waiting for this fix getting merged.
This looks like a simple one technically, but is really a show stopper for many accountants.

Regards,
Serpent Consulting Services.

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Urge to get this upon 6.1 !

Unmerged revisions

6748. By Serpent Consulting Services

[FIX] Account : Corrected the Views of Account.period in order to fix the bug of states.State field should be in view if other fields depend on it.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_view.xml'
2--- account/account_view.xml 2012-02-14 11:07:04 +0000
3+++ account/account_view.xml 2012-04-21 10:47:20 +0000
4@@ -22,12 +22,13 @@
5 </group>
6 <separator colspan="4" string="Periods"/>
7 <field colspan="4" name="period_ids" nolabel="1" widget="one2many_list">
8- <form string="Period">
9+ <form string="Periods">
10 <field name="name"/>
11 <field name="code"/>
12 <field name="date_start"/>
13 <field name="date_stop"/>
14 <field name="special"/>
15+ <field name="state" invisible="1"/>
16 </form>
17 </field>
18 <separator colspan="4" string="States"/>
19@@ -92,7 +93,7 @@
20 <field name="model">account.period</field>
21 <field name="type">form</field>
22 <field name="arch" type="xml">
23- <form string="Period">
24+ <form string="Periods">
25 <field name="name"/>
26 <field name="code"/>
27 <field name="date_start"/>
28@@ -111,7 +112,7 @@
29 <field name="model">account.period</field>
30 <field name="type">tree</field>
31 <field name="arch" type="xml">
32- <tree colors="blue:state == 'draft';gray:state == 'done' " string="Period">
33+ <tree colors="blue:state == 'draft';gray:state == 'done' " string="Periods">
34 <field name="name"/>
35 <field name="code"/>
36 <field name="date_start"/>