Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-574458-msh into 
lp:openobject-addons/6.1.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574458-msh/+merge/104532

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. 
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574458-msh/+merge/104532
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-574458-msh.
=== 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 @@
                             <field name="date_start"/>
                             <field name="date_stop"/>
                             <field name="special"/>
+                            <field name="state" invisible="1"/>
                         </form>
                     </field>
                     <separator colspan="4" string="States"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to