Merge lp:~openerp-dev/openobject-addons/6.1-opw-574178-pso into lp:openobject-addons/6.1

Proposed by Priyesh (OpenERP)
Status: Approved
Approved by: Vinay Rana (OpenERP)
Approved revision: 6780
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-574178-pso
Merge into: lp:openobject-addons/6.1
Diff against target: 30 lines (+5/-5)
1 file modified
account_bank_statement_extensions/account_bank_statement_view.xml (+5/-5)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-574178-pso
Reviewer Review Type Date Requested Status
Vinay Rana (OpenERP) (community) Approve
Xavier ALT Pending
Review via email: mp+104212@code.launchpad.net

Description of the change

Hello,

Issue is only coming in web-client.

To produce the issue:
Install account_bank_statement_extensions module.
Open Bank Statement Lines.
Create a new one and try to set Account and Analytic Account.
It will raise an error.

I fixed this issue and improved usability in Bank statement line.

Thanks,
Priyesh Solanki

To post a comment you must log in.
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

This issue is reproduce with some manual steps:
>open the Bank statement line
>Create a new line
>now directly try to select General Account or Analytic account will raises the error.

The propose fixes will fix the issue as per my test case.

Nice fix ...

review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-574178-port-mma/+merge/132259 and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6780. By Priyesh (OpenERP)

[FIX] account_bank_statement_extensions: Removed use of parent in bank statement line and improved usability(case:574178)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account_bank_statement_extensions/account_bank_statement_view.xml'
--- account_bank_statement_extensions/account_bank_statement_view.xml 2012-01-31 13:36:57 +0000
+++ account_bank_statement_extensions/account_bank_statement_view.xml 2012-05-01 07:28:18 +0000
@@ -73,12 +73,12 @@
73 <field name="date" readonly="1" groups="base.group_extended"/>73 <field name="date" readonly="1" groups="base.group_extended"/>
74 <field name="val_date" readonly="1"/>74 <field name="val_date" readonly="1"/>
75 <field name="name"/>75 <field name="name"/>
76 <field name="statement_id" readonly="1"/>76 <field name="statement_id"/>
77 <field name="ref" readonly="1"/>77 <field name="ref" readonly="1"/>
78 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>78 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
79 <field name="type" on_change="onchange_type(partner_id, type)"/>79 <field name="type" on_change="onchange_type(partner_id, type)"/>
80 <field name="account_id" domain="[('journal_id','=',parent.journal_id)]"/>80 <field name="account_id"/>
81 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '&lt;&gt;', 'view')]"/>81 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('type', '&lt;&gt;', 'view')]"/>
82 <field name="amount" readonly="1" sum="Total Amount"/>82 <field name="amount" readonly="1" sum="Total Amount"/>
83 <field name="globalisation_id" string="Glob. Id"/>83 <field name="globalisation_id" string="Glob. Id"/>
84 <field name="globalisation_amount" string="Glob. Am."/>84 <field name="globalisation_amount" string="Glob. Am."/>
@@ -101,8 +101,8 @@
101 <field name="ref" readonly="0"/>101 <field name="ref" readonly="0"/>
102 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>102 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
103 <field name="type" on_change="onchange_type(partner_id, type)"/>103 <field name="type" on_change="onchange_type(partner_id, type)"/>
104 <field domain="[('journal_id', '=', parent.journal_id), ('type', '&lt;&gt;', 'view')]" name="account_id"/>104 <field domain="[('type', '&lt;&gt;', 'view')]" name="account_id"/>
105 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '&lt;&gt;', 'view')]"/>105 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('type', '&lt;&gt;', 'view')]"/>
106 <field name="amount"/>106 <field name="amount"/>
107 <field name="globalisation_id"/>107 <field name="globalisation_id"/>
108 <field name="sequence" readonly="0"/>108 <field name="sequence" readonly="0"/>