mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[14.0][FIX] rma: add stock move in supplier group
This commit is contained in:
@@ -131,6 +131,29 @@
|
|||||||
name="move_ids"
|
name="move_ids"
|
||||||
domain="[('picking_id.partner_id', '=', partner_id), ('location_id.usage', '=', 'supplier')]"
|
domain="[('picking_id.partner_id', '=', partner_id), ('location_id.usage', '=', 'supplier')]"
|
||||||
/>
|
/>
|
||||||
|
<field name="show_lot_filter" invisible="1" />
|
||||||
|
<field name="lot_domain_ids" widget="many2many_tags" invisible="1" />
|
||||||
|
<div class="o_row">
|
||||||
|
<label
|
||||||
|
for="lot_ids"
|
||||||
|
attrs="{'invisible': [('show_lot_filter', '=', False)]}"
|
||||||
|
string="Selected Lot/Serial Numbers"
|
||||||
|
/>
|
||||||
|
<field
|
||||||
|
name="lot_ids"
|
||||||
|
widget="many2many_tags"
|
||||||
|
domain="[('id', 'in', lot_domain_ids)]"
|
||||||
|
attrs="{'invisible': [('show_lot_filter', '=', False)]}"
|
||||||
|
options="{'no_create': True}"
|
||||||
|
/>
|
||||||
|
<button
|
||||||
|
name="select_all"
|
||||||
|
type="object"
|
||||||
|
string="Select all"
|
||||||
|
class="oe_inline"
|
||||||
|
attrs="{'invisible': [('show_lot_filter', '=', False)]}"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<button
|
<button
|
||||||
string="Confirm"
|
string="Confirm"
|
||||||
|
|||||||
Reference in New Issue
Block a user