Error with attrs in the web-client 6.0

Bug #626802 reported by Marcilene Ribeiro
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Sananaz (Open ERP)

Bug Description

When I use the attrs in a view, regardless of which type
That is, it does not work correctly, but this only happens when I'm in web client.
Example:

<button icon="terp-gtk-go-back-rtl"
                                string="Consultar"
                                name="pesquisar_acompanhamento"
                                type="object" attrs="{'invisible':[('acompanhamento','=',False)]}" />
---
Reviews:
Server - 2663
Client - 1522
Web-Client -3156

Revision history for this message
Luiz Fernando M.França (Sig Informática) (luiz-siginformatica) wrote :

Hello,
this problem is happening with any kind of field.
The "attrs" not working in the web client.
If you set Readonly or Invisible in any field, I's not working.

Revision history for this message
Luiz Fernando M.França (Sig Informática) (luiz-siginformatica) wrote :

Hi,
today I updated the web client (Revision: 3267) and found that when I open a form directly from the menu, the "attrs" does not work,
but it when I open from a field many2one (pop-up), the "attrs" works perfectly.

Changed in openobject-client-web:
assignee: nobody → sma (Open ERP) (sma-tiny)
Changed in openobject-client-web:
status: New → Confirmed
milestone: none → 6.0
Changed in openobject-client-web:
status: Confirmed → In Progress
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its solved in Trunk web-client. Please update your code and notify us.

Revision-info:
3350 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: In Progress → Fix Released
Revision history for this message
Marcilene Ribeiro (mrasistemas) wrote :

Hello,
I tested and continues with the same errors described above, and work only in pop-ups.

Revision:3351

Thanks.

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.