summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2011-01-18 04:21:56 +0100
committerFabien Pinckaers <fp@tinyerp.com>2011-01-18 04:21:56 +0100
commit12dc4e5b3d368df6690394e9a6b4d7695fe1ac7a (patch)
tree70b515dd223672e6360876f60f560f2cb22c9a31 /addons
parentc916973c9e2fd71f5722b704c166457edb914f41 (diff)
fix
bzr revid: fp@tinyerp.com-20110118032156-7zjrvp08ktv7gx9v
Diffstat (limited to 'addons')
-rw-r--r--addons/point_of_sale/point_of_sale_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/point_of_sale/point_of_sale_view.xml b/addons/point_of_sale/point_of_sale_view.xml
index 51e043a3e01..3fdd96677dc 100644
--- a/addons/point_of_sale/point_of_sale_view.xml
+++ b/addons/point_of_sale/point_of_sale_view.xml
@@ -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" />