diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-12-14 11:32:25 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-12-14 11:32:25 +0700 |
| commit | bb2a3647ac1f5885bc6481ce10bfcd91813bfe81 (patch) | |
| tree | 8a4c56c0141611e08e2ad42df00b1106c9569644 /indoteknik_custom/views | |
| parent | e6770e132602c094197fbd6d9becc2bbc9c2d8e0 (diff) | |
change suggest to virtual column
Diffstat (limited to 'indoteknik_custom/views')
| -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"/> |
