28
28
<form string="Stock Inventory Lines">
29
29
<field colspan="4" domain="[('usage','=','internal')]" name="location_id" select="1"/>
30
30
<field context="location=location_id,uom=product_uom" name="product_id" on_change="on_change_product_id(location_id,product_id,product_uom)" select="1"/>
31
<field name="product_qty"/>
31
32
<field name="product_uom"/>
32
<field name="product_qty"/>
313
313
<field name="usage" select="1"/>
314
314
<field name="account_id" select="1"/>
315
315
<field name="location_id"/>
316
<field name="address_id"/>
316
<field name="address_id" context="{'context_display':'partner'}"/>
317
317
<group col="2" colspan="2">
318
318
<separator string="Chained Locations" colspan="2"/>
319
319
<field name="chained_location_type"/>
427
427
<field name="type">form</field>
428
428
<field name="arch" type="xml">
429
429
<form string="Move Lines">
430
<field name="address_id" invisible="True"/>
430
<field name="address_id" invisible="True" context="{'context_display':'partner'}"/>
431
431
<field name="picking_id" invisible="True"/>
432
432
<field domain="[('picking_id','<>',picking_id),('state','in',['confirmed','assigned'])]" name="move_ids" select="1"/><newline/>
433
433
<group colspan="4">
461
461
<tree color="red:state=='cancel'" string="Packing list">
462
462
<field colspan="4" name="name" select="1"/>
463
463
<field name="date" select="1"/>
464
<field name="address_id" select="1"/>
464
<field name="address_id" select="1" context="{'context_display':'partner'}"/>
465
465
<field name="invoice_state" readonly="1"/>
466
466
<field name="origin" select="1"/>
467
467
<field name="state" readonly="1"/>
476
476
<form string="Packing list">
478
478
<page string="General Information">
479
<field name="name" select="1"/>
479
<field name="address_id" select="2" context="{'context_display':'partner'}"/>
480
<field name="type" select="2" readonly="1"/>
481
<field name="name" select="1" readonly="1"/>
480
482
<field name="date" select="1"/>
482
<field name="type" select="2"/>
483
<field name="invoice_state" select="2"/>
485
<field name="location_id"/>
486
<field name="location_dest_id"/>
487
<field name="address_id" select="2"/>
488
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list">
484
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_out_id': address_id}">
489
485
<form string="Stock Moves">
490
486
<separator colspan="4" string="Move Information"/>
491
<field colspan="4" context="location=parent.location_id" name="product_id" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" select="1"/>
487
<field name="location_id" select="1" domain="[('usage','=','internal')]"/>
488
<field name="location_dest_id" select="1" domain="[('usage','=','internal')]"/>
489
<field colspan="4" context="location=location_id" name="product_id" on_change="onchange_product_id(product_id, location_id, location_dest_id)" select="1"/>
490
<field name="product_qty" select="1"/>
492
491
<field name="product_uom" select="1"/>
493
<field name="product_qty" select="1"/>
494
492
<field groups="product.group_uos" name="product_uos"/>
495
493
<field groups="product.group_uos" name="product_uos_qty"/>
496
<field colspan="4" name="name" select="1"/>
494
<field colspan="4" invisible="1" name="name" select="1"/>
495
<field invisible="1" name="date"/>
498
496
<field name="date_planned"/>
499
<field name="priority"/>
500
<field name="location_id" select="1"/>
501
<field name="location_dest_id" select="1"/>
502
<field name="address_id" select="1"/>
503
<field name="product_packaging"/>
497
<field name="address_id" select="1" context="{'context_display':'partner'}"/>
498
<field groups="base.group_extended" name="product_packaging"/>
504
499
<field context="product_id=product_id" name="prodlot_id" select="1"/>
505
<field name="tracking_id" select="1"/>
500
<field groups="base.group_extended" name="tracking_id" select="1"/>
508
503
<button name="%(track_line)d" string="Split in production lots" type="action"/>
510
504
<separator colspan="4" string="Move State"/>
511
505
<field name="state" select="1"/>
556
550
<tree color="red:state=='cancel'" string="Packing list">
557
551
<field colspan="4" name="name" select="1"/>
558
552
<field name="date" select="1"/>
559
<field name="address_id" select="1"/>
553
<field name="address_id" select="1" context="{'context_display':'partner'}"/>
560
554
<field name="origin" select="1"/>
561
555
<field name="state" readonly="1"/>
568
562
<field name="type">form</field>
569
563
<field name="arch" type="xml">
570
564
<form string="Packing list">
571
<field name="name" select="1"/>
572
<field name="date" select="1"/>
574
<field name="address_id" select="2"/>
565
<field name="address_id" select="2" context="{'context_display':'partner'}"/>
575
566
<field name="origin" select="2"/>
567
<field name="name" select="1" readonly="1"/>
568
<field name="date" select="1" readonly="1"/>
576
569
<notebook colspan="4">
577
570
<page string="General Information">
578
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list">
571
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_out_id': address_id}">
579
572
<form string="Stock Moves">
580
573
<separator colspan="4" string="Move Information"/>
581
<field colspan="4" context="location=parent.location_id" name="product_id" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" select="1"/>
574
<field name="location_id" select="1" domain="[('usage','=','internal')]"/>
575
<field name="location_dest_id" select="1" domain="[('usage','<>','view')]"/>
576
<field colspan="4" context="location=location_id" name="product_id" on_change="onchange_product_id(product_id, location_id, location_dest_id)" select="1"/>
577
<field name="product_qty" select="1"/>
582
578
<field name="product_uom" select="1"/>
583
<field name="product_qty" select="1"/>
584
579
<field groups="product.group_uos" name="product_uos"/>
585
580
<field groups="product.group_uos" name="product_uos_qty"/>
586
581
<field colspan="4" invisible="1" name="name" select="1"/>
587
582
<field invisible="1" name="date"/>
588
583
<field name="date_planned"/>
589
<field name="location_id" select="1"/>
590
<field name="location_dest_id" select="1"/>
591
584
<field groups="base.group_extended" name="product_packaging"/>
592
585
<field context="product_id=product_id" name="prodlot_id" select="1"/>
593
586
<field groups="base.group_extended" name="tracking_id" select="1"/>
710
703
<tree color="red:state=='cancel'" string="Packing list">
711
704
<field colspan="4" name="name" select="1"/>
712
705
<field name="date" select="1"/>
713
<field name="address_id" select="1"/>
706
<field name="address_id" select="1" context="{'context_display':'partner'}"/>
714
707
<field name="invoice_state" readonly="1"/>
715
708
<field name="origin" select="1"/>
716
709
<field name="state" readonly="1"/>
723
716
<field name="type">form</field>
724
717
<field name="arch" type="xml">
725
718
<form string="Packing list">
726
<field name="name" select="1"/>
727
<field name="date" select="1"/>
729
<field name="address_id" select="2"/>
719
<field name="address_id" select="2" context="{'context_display':'partner'}"/>
720
<field name="date" select="1" readonly="1"/>
730
721
<field name="origin" select="2"/>
722
<field name="name" select="1" readonly="1"/>
731
723
<notebook colspan="4">
732
724
<page string="General Information">
733
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list">
725
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_out_id': address_id}">
734
726
<form string="Stock Moves">
735
727
<separator colspan="4" string="Move Information"/>
736
<field colspan="4" context="location=parent.location_id" name="product_id" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" select="1"/>
728
<field name="location_id" select="1" domain="[('usage','=','internal')]"/>
729
<field name="location_dest_id" select="1" domain="[('usage','<>','view')]"/>
730
<field colspan="4" context="location=location_id" name="product_id" on_change="onchange_product_id(product_id, location_id, location_dest_id)" select="1"/>
731
<field name="product_qty" select="1"/>
737
732
<field name="product_uom" select="1"/>
738
<field name="product_qty" select="1"/>
739
733
<field groups="product.group_uos" name="product_uos"/>
740
734
<field groups="product.group_uos" name="product_uos_qty"/>
741
735
<field colspan="4" invisible="1" name="name" select="1"/>
742
736
<field invisible="1" name="date"/>
743
737
<field name="date_planned"/>
744
<field name="location_id" select="1"/>
745
<field name="location_dest_id" select="1"/>
746
738
<field groups="base.group_extended" name="product_packaging"/>
747
739
<field context="product_id=product_id" name="prodlot_id" select="1"/>
748
740
<field groups="base.group_extended" name="tracking_id" select="1"/>
862
854
<tree color="red:state=='cancel'" string="Packing list">
863
855
<field colspan="4" name="name" select="1"/>
864
856
<field name="date" select="1"/>
865
<field name="address_id" select="1"/>
857
<field name="address_id" select="1" context="{'context_display':'partner'}"/>
866
858
<field name="invoice_state" readonly="1"/>
867
859
<field name="origin" select="1"/>
868
860
<field name="state" readonly="1"/>
875
867
<field name="type">form</field>
876
868
<field name="arch" type="xml">
877
869
<form string="Input Packing List">
878
<field name="address_id" on_change="onchange_partner_in(address_id)" select="2"/>
870
<field name="address_id" on_change="onchange_partner_in(address_id)" select="2" context="{'context_display':'partner'}"/>
871
<field name="origin" select="2"/>
872
<field name="invoice_state" select="2" string="Invoice Control"/>
879
873
<field name="name" readonly="1" select="1"/>
880
<field name="location_id"/>
881
<field domain="[('usage','=','internal')]" name="location_dest_id"/>
882
<field name="invoice_state" select="2" string="Supplier Invoice Control"/>
883
<field name="origin" select="2"/>
884
874
<notebook colspan="4">
885
875
<page string="General Information">
886
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list">
876
<field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'move_line':move_lines, 'address_in_id': address_id}">
887
877
<tree string="Stock Moves">
888
878
<field name="product_id"/>
889
879
<field name="product_qty"/>
895
885
<form string="Stock Moves">
896
886
<separator colspan="4" string="Move Information"/>
897
<field colspan="4" context="location=parent.location_id" name="product_id" on_change="onchange_product_id(product_id, parent.location_id, parent.location_dest_id)" select="1"/>
887
<field name="location_id" select="1" domain="[('usage','<>','view')]"/>
888
<field domain="[('usage','=','internal')]" name="location_dest_id" select="1"/>
889
<field colspan="4" context="location=location_id" name="product_id" on_change="onchange_product_id(product_id, location_id, location_dest_id)" select="1"/>
890
<field name="product_qty" select="1"/>
898
891
<field name="product_uom" select="1"/>
899
<field name="product_qty" select="1"/>
900
892
<field groups="product.group_uos" name="product_uos"/>
901
893
<field groups="product.group_uos" name="product_uos_qty"/>
902
894
<field colspan="4" invisible="1" name="name" select="1"/>
903
895
<field groups="base.group_extended" name="date"/>
904
896
<field groups="base.group_extended" name="date_planned"/>
906
<field name="location_id" select="1"/>
907
<field domain="[('usage','=','internal')]" name="location_dest_id" select="1"/>
909
899
<field groups="base.group_extended" name="product_packaging"/>
1099
1089
<field name="arch" type="xml">
1100
1090
<form string="Stock Moves">
1101
1091
<separator colspan="4" string="Move Information"/>
1102
<field colspan="4" name="name" select="1"/>
1103
<field name="date"/>
1104
<field name="date_planned"/>
1092
<field name="location_id" select="1"/>
1093
<field name="location_dest_id" select="1"/>
1105
1094
<field colspan="4" name="product_id" select="1"/>
1095
<field name="product_qty" select="1"/>
1106
1096
<field name="product_uom" select="1"/>
1107
<field name="product_qty" select="1"/>
1108
<field name="location_id" select="1"/>
1109
<field name="location_dest_id" select="1"/>
1097
<field colspan="4" name="name" select="1"/>
1098
<field name="date"/>
1099
<field name="date_planned"/>
1110
1100
<field name="priority"/>
1111
<field name="address_id" select="1"/>
1101
<field name="address_id" select="1" context="{'context_display':'partner'}"/>
1113
1103
<field context="product_id=product_id" name="prodlot_id" select="1"/>
1114
1104
<field name="tracking_id" select="1"/>