state field must be in tree and forms

Bug #1029090 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Web Team

Bug Description

in GTK it is sufficient, that the state field is declared in the tree view, in web 61 the state field must also be declared in form

this causes a very difficult error to track
Uncaught Error: Unbekanntes Feld state in Domain [["state","in",["done"]]]

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

We confirm this!

Have fixed one https://bugs.launchpad.net/openobject-addons/+bug/960872, though yet to merge.

Hopeful,
Thanks.

Revision history for this message
Ferdinand (office-chricar) wrote :

Please add at least the view name to the error message

Changed in openerp-web:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote :

can you please elaborate ?

Changed in openerp-web:
status: Confirmed → Incomplete
Revision history for this message
Ferdinand (office-chricar) wrote :

for a domain to work from 6.1 on the field must be defined in the current form view (IMHO this is correct)

in earlier versions it was sufficient that the field was defined in tree view

suggestion - the error message should mention the view name for easier debug

I also think this mainly happened after upgrading to 6.1

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

See the 1st Comment Antony!

Changed in openerp-web:
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.