Merge lp:~openerp-dev/openobject-addons/6.1-opw-575687-msh into lp:openobject-addons/6.1

Proposed by Mohammed Shekha(Open ERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6844
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-575687-msh
Merge into: lp:openobject-addons/6.1
Diff against target: 19 lines (+2/-0)
1 file modified
account/account_view.xml (+2/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-575687-msh
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+110456@code.launchpad.net

Description of the change

Hello,

Fixed the issue of bank statement lines which was throwing an error of domain as there is state based domain but state field is not shown in tree or form view.

So just added the state field in the view so that state base domain can be evaluated by the client.

Thanks.

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

Hello,

This bug was qualified as Not Reproducible on 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

6844. By Mohammed Shekha(Open ERP)

[FIX]Fixed the issue of bank statement lines which was throwing an error of domain as there is state based domain but state field is not shown in tree or form view.

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-06-15 05:27:19 +0000
4@@ -2645,6 +2645,7 @@
5 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
6 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '&lt;&gt;', 'view')]" groups="analytic.group_analytic_accounting" />
7 <field name="amount"/>
8+ <field name="state"/>
9 </tree>
10 <form string="Statement lines">
11 <field name="date"/>
12@@ -2656,6 +2657,7 @@
13 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '&lt;&gt;', 'view')]" groups="analytic.group_analytic_accounting" />
14 <field name="amount"/>
15 <field name="sequence"/>
16+ <field name="state"/>
17 <separator colspan="4" string="Notes"/>
18 <field colspan="4" name="note" nolabel="1"/>
19 </form>