diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-14 21:08:00 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-14 21:08:00 +0700 |
| commit | df06e1a954db64dffecf732deb2548acf28dccc3 (patch) | |
| tree | d748246a891da469c33e8449ba8df254e4f1f930 | |
| parent | 8e9a84acd044954189cad84200b401516427c0fb (diff) | |
Update purchase_order.xml
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 31524d65..128f2413 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -13,6 +13,12 @@ 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" @@ -34,6 +40,9 @@ <field name="total_percent_margin"/> <field name="total_so_percent_margin"/> </field> + <field name="product_id" position="before"> + <field name="line_no" attrs="{'readonly': 1}"/> + </field> </field> </record> </data> |
