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

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

Description of the change

Hello,

Fixed the issue of state which was not shown in form view, due to which web-client was throwing an error in domain evaluation as there is some field in this form which has sate base condition.

Demo :- Go to Accounting -> Configuration -> Financial Accounting -> Periods -> Fiscal Year -> Edit Any record and edit the Period One2many.

Result :- Web will throw an error while it goes for compute_domain.

This is becaus e we have not shown a state field in form view and there are other fields which have state base domain, now when web goes to read the record so there will not be a state field in record so domain will not be evaluated as we don't have state value.

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 Already Fixed on Trunk (means that it was already fixed and 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

6782. By Mohammed Shekha(Open ERP)

[FIX]Fixed the issue of state which was not shown in form view, due to which web-client was throwing an error in domain evaluation as there is some field in this form which has sate base condition.

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-05-03 11:50:24 +0000
4@@ -28,6 +28,7 @@
5 <field name="date_start"/>
6 <field name="date_stop"/>
7 <field name="special"/>
8+ <field name="state" invisible="1"/>
9 </form>
10 </field>
11 <separator colspan="4" string="States"/>