скрыть столбец баланса
Поле 'product' в форме отображается как:
<page string="Products">
<field name="move_lines" context="{'address_in_id': partner_id, 'form_view_ref':**'view_move_picking_form'**, 'tree_view_ref':'view_move_picking_tree', 'picking_type': 'internal'}"/>
<field name="note" placeholder="Add an internal note..." class="oe_inline"/>
</page>
Столбец 'баланс' в view_move_picking_form отображается как:
<label for="prodlot_id"/>
<div>
<field name="prodlot_id" groups="stock.group_production_lot"
context="{'location_id':location_id, 'product_id':product_id}"
domain="[('product_id','=?',product_id)]"
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" class="oe_inline" **invisible="1"** />
В приведенном выше коде я добавил невидимый метод в код, но столбец «баланс» не скрыт.
'