← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666228] [NEW] Error attrs only button

 

Public bug reported:

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

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

** 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)]}"
  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






Follow ups

References