diff options
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index b5a9b4ad..4cf83dd4 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -13,12 +13,6 @@ class="oe_highlight oe_edit_only" attrs="{'invisible': ['|', ('sale_order_id', '=', False), ('state', 'not in', ['draft'])]}" /> - <button name="calculate_line_no" - string="Line No" - type="object" - class="oe_highlight oe_edit_only" - attrs="{'invisible': ['|', ('state', '=', 'purchase'), ('state', '=', 'done')]}" - /> </div> <button id="draft_confirm" position="after"> <button name="po_approve" @@ -57,8 +51,11 @@ <attribute name="options">{'no_create': True}</attribute> </field> <field name="product_qty" position="before"> - <field name="qty_available_store" readonly="1" /> - <field name="suggest" readonly="1" /> + <field name="qty_onhand" readonly="1" optional="hide"/> + <field name="qty_incoming" readonly="1" optional="hide"/> + <field name="qty_outgoing" readonly="1" optional="hide"/> + <field name="qty_available" readonly="1" optional="hide"/> + <field name="suggest" readonly="1" optional="hide"/> </field> <field name="price_unit" position="after"> <field name="price_vendor" attrs="{'readonly': 1}" optional="hide"/> |
