← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666228] Re: Error attrs only button

 

Hello sma,

Tested and continues with the same error.
Here is the code:

               <button name="%(wizard_abrir_orcamento)d"  type="action"
string="Abrir Orcamento"  icon="gtk-goto-first"  help="Abrir Orcamento"
attrs="{'readonly':[('orcamento_id','=',False)]}" />

This error only happens on the web client.

-- 
Error attrs only button
https://bugs.launchpad.net/bugs/666228
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: New

Bug description:
Hello,

It seems that the errors were corrected with the attrs, but the buttons remain the same mistakes.
Follow the example below:

<button attrs="{'readonly':[('pedido_id','=',False)]}" name="%(wizard_abrir_pedido)d" string="Abrir NF" icon="gtk-goto-last" type="action" help="Abrir NF" context="{'button_name':'abrir_nf'}"/>

Reviews:

Server - 2946
Client - 1647
Web-Client -3704







References