c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #01098
[Bug 666228] Re: Error attrs only button
** Description changed:
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)]}"
+ <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
--
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