c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #01083
[Bug 666228] Re: Error attrs only button
Hello Marcilene (Doty),
I have tested with the following attrs on button,
<button name="%(action_membership_invoice_view)d" type="action"
string="Join Membership" attrs="{'readonly':[('free_member','=',True)]}"
icon="gtk-apply"/>
And it working fine, Applying readonly attrs on button. Please you can
check again.
Note: if i look in your attrs on button there is some invalid syntax so
don't forget to correct it.
Thanks.
--
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