diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-15 10:06:12 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-15 10:06:12 +0700 |
| commit | a831d928c740497c777b966020aa2f198bf0066a (patch) | |
| tree | 2a3ed3458d7ce18f37d28af28cfa10240981d9f2 /indoteknik_custom/views | |
| parent | e2860d19aebbd64b4c38fb18dd18d6dbcc932744 (diff) | |
add line number in stock picking (DO and Receipt)
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml index bc3f56d9..5f78ea57 100644 --- a/indoteknik_custom/views/stock_picking.xml +++ b/indoteknik_custom/views/stock_picking.xml @@ -6,6 +6,14 @@ <field name="model">stock.picking</field> <field name="inherit_id" ref="stock.view_picking_form"/> <field name="arch" type="xml"> + <div class="oe_title" position="after"> + <button name="calculate_line_no" + string="Line No" + type="object" + class="oe_highlight oe_edit_only" + attrs="{'invisible': ['|', ('state', '=', 'confirmed'), ('state', '=', 'done'), ('state', '=', 'cancel')]}" + /> + </div> <field name="backorder_id" position="after"> <field name="is_internal_use" string="Internal Use" @@ -27,7 +35,9 @@ }" /> </field> - + <field name="product_id" position="before"> + <field name="line_no" attrs="{'readonly': 1}"/> + </field> <page name="note" position="after"> <page string="E-Faktur" name="efaktur" attrs="{'invisible': [['is_internal_use', '=', False]]}"> <group> |
