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
=== modified file 'account/account_view.xml'
--- account/account_view.xml 2012-02-14 11:07:04 +0000
+++ account/account_view.xml 2012-05-03 11:50:24 +0000
@@ -28,6 +28,7 @@
28 <field name="date_start"/>28 <field name="date_start"/>
29 <field name="date_stop"/>29 <field name="date_stop"/>
30 <field name="special"/>30 <field name="special"/>
31 <field name="state" invisible="1"/>
31 </form>32 </form>
32 </field>33 </field>
33 <separator colspan="4" string="States"/>34 <separator colspan="4" string="States"/>