229
230
<group colspan="2" col="4">
230
231
<separator colspan="4" string="Move Information"/>
231
232
<field name="name" invisible="1" colspan="4" />
232
<field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
233
<field name="product_id" context="{'location': location_id}" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
233
234
<field name="asset_id" />
234
235
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
235
236
<field name="product_uom" string="Unit Of Measure" colspan="4" />
241
242
<group colspan="2" col="2">
242
243
<separator string="Locations" colspan="2" />
243
<field name="location_id" domain="[('usage','=','internal'), ('quarantine_location', '=', False),]" />
244
<field name="location_id" domain="[('usage','=','internal'), ('quarantine_location', '=', False),]"
245
context="{'specific_rules_tree_view': True, 'prodlot_id': prodlot_id, 'product_id': product_id, 'compute_child': False,}" />
244
246
<field name="location_dest_id" domain="[('usage','<>','view')]" on_change="location_dest_change(location_dest_id)" />
247
249
<group colspan="2" col="2">
248
250
<separator string="Dates" colspan="2" />
249
251
<field name="create_date" invisible="1"/>
251
<field name="date_expected"/>
252
<field name="date" string="Actual Pick Date" />
253
<field name="date_expected" string="Expected Pick Date" />
254
256
<group colspan="2" col="4" groups="base.group_extended">
255
257
<separator string="Traceability" colspan="4" groups="base.group_extended"/>
256
<field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/>
258
<field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/>
257
259
<field name="prodlot_id" groups="base.group_extended"
258
context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,}"
259
domain="[('product_id','=?',product_id), ('check_type','=', True),]"
260
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" colspan="3"
261
attrs="{'readonly': [('hidden_batch_management_mandatory','=',False), ('hidden_perishable_mandatory','=',False),],}" />
262
<field name="hidden_batch_management_mandatory" invisible="True" />
263
<field name="hidden_perishable_mandatory" invisible="True" />
260
context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,
261
'search_default_real': True}"
262
domain="[('product_id','=?',product_id), ('check_type','=', True),]"
263
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" colspan="3"
264
attrs="{'readonly': [('hidden_batch_management_mandatory','=',False), ('hidden_perishable_mandatory','=',False),],}" />
265
<field name="hidden_batch_management_mandatory" invisible="True" />
266
<field name="hidden_perishable_mandatory" invisible="True" />
264
267
<field name="expired_date" />
265
268
<field name="kc_check" />
266
269
<field name="ssl_check" />
506
510
<group colspan="2" col="4">
507
511
<separator colspan="4" string="Move Information"/>
508
512
<field name="name" invisible="1" colspan="4" />
509
<field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
513
<field name="product_id" context="{'location': location_id}" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
510
514
<field name="asset_id" />
511
515
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
512
516
<field name="product_uom" string="Unit Of Measure" colspan="4" />
518
522
<group colspan="2" col="2">
519
523
<separator string="Locations" colspan="2" />
520
<field name="location_id" domain="[('usage','=','internal'), ('quarantine_location', '=', False),]" />
524
<field name="location_id" domain="[('usage','=','internal'), ('quarantine_location', '=', False),]"
525
context="{'specific_rules_tree_view': True, 'prodlot_id': prodlot_id, 'product_id': product_id, 'compute_child': False,}" />
521
526
<field name="location_dest_id" domain="[('usage','<>','view')]" on_change="location_dest_change(location_dest_id)" />
524
529
<group colspan="2" col="2">
525
530
<separator string="Dates" colspan="2" />
526
531
<field name="create_date" invisible="1"/>
528
<field name="date_expected"/>
532
<field name="date" string="Actual Pack Date" />
533
<field name="date_expected" string="Expected Pack Date" />
531
536
<group colspan="2" col="4" groups="base.group_extended">
532
<field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/>
537
<field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/>
533
538
<separator string="Traceability" colspan="4" groups="base.group_extended"/>
534
539
<field name="prodlot_id" groups="base.group_extended"
535
context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,}"
540
context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,
541
'search_default_real': True}"
536
542
domain="[('product_id','=?',product_id), ('check_type','=', True),]"
537
543
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" colspan="3"
538
544
attrs="{'readonly': [('hidden_batch_management_mandatory','=',False), ('hidden_perishable_mandatory','=',False),],}" />
539
545
<field name="hidden_batch_management_mandatory" invisible="True" />
540
<field name="hidden_perishable_mandatory" invisible="True" />
546
<field name="hidden_perishable_mandatory" invisible="True" />
541
547
<field name="expired_date" />
542
548
<field name="kc_check" />
543
549
<field name="ssl_check" />
748
754
<group colspan="2" col="4">
749
755
<separator colspan="4" string="Move Information"/>
750
756
<field name="name" invisible="1" colspan="4" />
751
<field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
757
<field name="product_id" context="{'location': location_id}" on_change="onchange_product_id(product_id,location_id,location_dest_id, parent.address_id)" colspan="4" />
752
758
<field name="asset_id" />
753
759
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)" />
754
760
<field name="product_uom" string="Unit Of Measure" colspan="4" />
760
766
<group colspan="2" col="2">
761
767
<separator string="Locations" colspan="2" />
762
<field name="location_id" domain="[('usage','=','internal'), ('quarantine_location', '=', False),]" />
768
<field name="location_id" domain="[('usage','=','internal'), ('quarantine_location', '=', False),]"
769
context="{'specific_rules_tree_view': True, 'prodlot_id': prodlot_id, 'product_id': product_id, 'compute_child': False,}" />
763
770
<field name="location_dest_id" domain="[('usage','<>','view')]" on_change="location_dest_change(location_dest_id)" />
773
780
<group colspan="2" col="4" groups="base.group_extended">
774
781
<separator string="Traceability" colspan="4" groups="base.group_extended"/>
775
<field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/>
782
<field name="reason_type_id" attrs="{'readonly': [('state', 'not in', ('draft', 'confirmed', 'assigned'))]}"/>
776
783
<field name="prodlot_id" groups="base.group_extended"
777
context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,}"
784
context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,
785
'search_default_real': True}"
778
786
domain="[('product_id','=?',product_id), ('check_type','=', True),]"
779
787
on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" colspan="3"
780
788
attrs="{'readonly': [('hidden_batch_management_mandatory','=',False), ('hidden_perishable_mandatory','=',False),],}" />
781
789
<field name="hidden_batch_management_mandatory" invisible="True" />
782
<field name="hidden_perishable_mandatory" invisible="True" />
790
<field name="hidden_perishable_mandatory" invisible="True" />
783
791
<field name="expired_date" />
784
792
<field name="kc_check" />
785
793
<field name="ssl_check" />