[FIX] sale : Make Invoice button set to invisible when invoiced.
bzr revid: vra@tinyerp.com-20100729053142-owk0ha5ak5jj9ovt
This commit is contained in:
parent
059332f03f
commit
32dcf8792f
|
@ -163,12 +163,14 @@
|
|||
<separator colspan="5" string="States"/>
|
||||
<field name="state"/>
|
||||
<field name="invoiced"/>
|
||||
<group attrs="{'invisible':[('invoiced','=',True)]}">
|
||||
<button colspan="1"
|
||||
name="create_sale_order_line_invoice"
|
||||
states="confirmed"
|
||||
string="Create Invoice"
|
||||
type="object"
|
||||
icon="terp-document-new" />
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page groups="base.group_extended" string="Extra Info">
|
||||
|
|
Loading…
Reference in New Issue