@@ -27,7 +27,7 @@
|
||||
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,qty,parent.partner_id)" width="275" />
|
||||
<field name="qty" on_change="onchange_qty(discount, qty, price_unit)"/>
|
||||
<field name="price_ded" on_change="onchange_ded(price_ded, price_subtotal_incl,price_unit)" invisible="1"/>
|
||||
<field name="price_unit" readonly="1"/>
|
||||
<field name="price_unit"/>
|
||||
<field name="discount" on_change="onchange_discount(discount,price_unit)" />
|
||||
<field name="price_subtotal" />
|
||||
<field name="price_subtotal_incl" sum="Subtotal"/>
|
||||
@@ -51,7 +51,7 @@
|
||||
<separator colspan="4"/>
|
||||
<group colspan="4" col="8">
|
||||
<field name="state" />
|
||||
<button name="%(action_add_product)d" string="Add product" type="action" icon="gtk-ok" states="draft"/>
|
||||
<button name="%(action_add_product)d" string="Add product" type="action" icon="gtk-ok" states="draft" groups="base.group_extended"/>
|
||||
<button name="%(action_pos_payment)d" string="Make Payment" icon="terp-dolar" type="action" states="draft,advance" />
|
||||
<button name="%(action_report_pos_receipt)d" string="Reprint" icon="gtk-print" type="action" states="paid,done,invoiced"/>
|
||||
<button name="set_to_draft" string="Set to draft" states="paid" icon="gtk-execute" type="object" />
|
||||
|
||||
Reference in New Issue
Block a user