~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to msf_outgoing/msf_outgoing_view.xml

  • Committer: jf
  • Date: 2011-12-30 09:08:24 UTC
  • mfrom: (395.8.8 UF-661)
  • Revision ID: jf@tempo4-20111230090824-4zbrgeyqqu4z4so3
UF-661 [MERGE] Financing contracts: Export CSV File

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<openerp>
3
3
    <data>
4
4
    
 
5
        <menuitem name="Deliveries" id="menu_warehouse_deliveries" parent="stock.menu_stock_warehouse_mgmt" sequence="3"/>
5
6
        <menuitem id="menu_report_config" name="Report Customization" parent="stock.menu_stock_configuration" sequence="1"/>
6
7
    
7
8
        # -------------------------------------------------------------
85
86
            <field name="search_view_id" ref="stock.view_picking_out_search"/>
86
87
            <field name="help">This is the list of all delivery orders that have to be prepared, according to your different sales orders and your logistics rules.</field>
87
88
        </record>
88
 
        <!-- delete outgoing delivery menuitem -->
89
 
        <!-- <delete model="ir.ui.menu" id="stock.menu_action_picking_tree"/> -->
 
89
        <menuitem id="stock.menu_action_picking_tree" parent="menu_warehouse_deliveries" />
90
90
        
91
91
        <record id="view_warehouse" model="ir.ui.view">
92
92
            <field name="name">stock.warehouse</field>
132
132
        <menuitem action="action_pack_type_tree" id="menu_action_pack_type_tree"
133
133
            groups="base.group_extended"
134
134
            sequence="6"
135
 
            parent="stock.menu_traceability"/>
 
135
            parent="stock.menu_product_in_config_stock"/>
136
136
        
137
137
        <!-- Changed name to 'Picking Tickets' -->
138
138
                <record id="view_picking_ticket_tree" model="ir.ui.view">
147
147
                    <field name="reason_type_id" />
148
148
                    <field name="origin"/>
149
149
                    <field name="date"/>
150
 
                    <field name="min_date"/>
 
150
                    <field name="min_date" string="Expected Pick Date" />
151
151
                    <field name="backorder_id" groups="base.group_extended"/>
152
152
                    <field name="invoice_state"/>
153
153
                    <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
196
196
                        </group>
197
197
                        <group colspan="2" col="2">
198
198
                            <field name="date"/>
199
 
                            <field name="min_date" readonly="1"/>
 
199
                            <field name="stock_journal_id" groups="base.group_extended" widget="selection" invisible="True" />
 
200
                            <field name="min_date" readonly="1" string="Expected Pick Date" />
200
201
                            <field name="reason_type_id" widget="selection"/>
201
202
                            <field name="sale_id" invisible="True" />
202
203
                            <field name="subtype" invisible="True" />
205
206
                    </group>
206
207
                    <notebook colspan="4">
207
208
                        <page string="Products">
208
 
                            <field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'reason_type_id': reason_type_id, 'move_line':move_lines, 'address_out_id': address_id}">
 
209
                            <field colspan="4" name="move_lines" nolabel="1" widget="one2many_list" default_get="{'reason_type_id': reason_type_id, 'move_line':move_lines, 'address_out_id': address_id}" on_change="onchange_move()" >
209
210
                                <tree string="Stock Moves">
210
211
                                    <field name="product_id"/>
211
212
                                    <field name="asset_id" />
218
219
                                    <field name="location_id" string="Src. Loc" />
219
220
                                    <field name="location_dest_id" string="Dest. Loc" />
220
221
                                    <field name="virtual_available" />
221
 
                                    <field name="date"/>
 
222
                                    <field name="date" string="Actual Pick Date" />
222
223
                                    <field name="state"/>
223
224
                                    <field name="kc_check" />
224
225
                                                        <field name="ssl_check" />
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" />
240
241
 
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','&lt;&gt;','view')]" on_change="location_dest_change(location_dest_id)" />
245
247
                                    </group>
246
248
 
247
249
                                    <group colspan="2" col="2">
248
250
                                        <separator string="Dates" colspan="2" />
249
251
                                        <field name="create_date" invisible="1"/>
250
 
                                        <field name="date"/>
251
 
                                        <field name="date_expected"/>
 
252
                                        <field name="date" string="Actual Pick Date" />
 
253
                                        <field name="date_expected" string="Expected Pick Date" />
252
254
                                    </group>
253
255
 
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" />
406
409
            <field name="view_mode">calendar</field>
407
410
            <field name="act_window_id" ref="action_picking_ticket"/>
408
411
        </record>
409
 
        <menuitem action="action_picking_ticket" id="menu_action_picking_ticket" parent="stock.menu_stock_warehouse_mgmt" sequence="5"/>
 
412
        <menuitem action="action_picking_ticket" id="menu_action_picking_ticket" parent="menu_warehouse_deliveries" sequence="4"/>
410
413
 
411
414
        
412
415
        <!-- Changed name to 'PPL' -->
419
422
                    <field name="name"/>
420
423
                    <field name="partner_id"/>
421
424
                    <field name="origin"/>
422
 
                    <field name="reason_type_id" />
 
425
                                <field name="reason_type_id" />
423
426
                    <field name="date"/>
424
 
                    <field name="min_date"/>
 
427
                    <field name="min_date" string="Expected Pack Date" />
425
428
                    <field name="backorder_id" groups="base.group_extended"/>
426
429
                    <field name="invoice_state"/>
427
430
                    <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
470
473
                        </group>
471
474
                        <group colspan="2" col="2">
472
475
                            <field name="date"/>
473
 
                            <field name="min_date" readonly="1"/>
 
476
                            <field name="stock_journal_id" groups="base.group_extended" widget="selection" invisible="True" />
 
477
                            <field name="min_date" readonly="1" string="Expected Pack Date" />
474
478
                            <field name="reason_type_id" widget="selection"/>
475
479
                            <field name="sale_id" invisible="True" />
476
480
                            <field name="subtype" invisible="True" />
495
499
                                    <field name="qty_per_pack" />
496
500
                                    <field name="from_pack" />
497
501
                                    <field name="to_pack" />
498
 
                                    <field name="date"/>
 
502
                                    <field name="date" string="Actual Pack Date" />
499
503
                                    <field name="state"/>
500
504
                                    <field name="kc_check" />
501
505
                                                        <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" />
517
521
 
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','&lt;&gt;','view')]" on_change="location_dest_change(location_dest_id)" />
522
527
                                    </group>
523
528
 
524
529
                                    <group colspan="2" col="2">
525
530
                                        <separator string="Dates" colspan="2" />
526
531
                                        <field name="create_date" invisible="1"/>
527
 
                                        <field name="date"/>
528
 
                                        <field name="date_expected"/>
 
532
                                        <field name="date" string="Actual Pack Date" />
 
533
                                        <field name="date_expected" string="Expected Pack Date" />
529
534
                                    </group>
530
535
 
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" />
648
654
            <field name="view_mode">calendar</field>
649
655
            <field name="act_window_id" ref="action_ppl"/>
650
656
        </record>
651
 
        <menuitem action="action_ppl" id="menu_action_ppl" parent="stock.menu_stock_warehouse_mgmt" sequence="6"/>
 
657
        <menuitem action="action_ppl" id="menu_action_ppl" parent="menu_warehouse_deliveries" sequence="5"/>
652
658
        
653
659
        <!-- Changed name to 'Packing' -->
654
660
                <record id="view_packing_tree" model="ir.ui.view">
667
673
                    <field name="invoice_state"/>
668
674
                    <field name="stock_journal_id" groups="base.group_extended" widget="selection"/>
669
675
                    <field name="state"/>
670
 
                    <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
671
676
                </tree>
672
677
            </field>
673
678
        </record>
711
716
                        <group colspan="2" col="2">
712
717
                            <field name="date"/>
713
718
                            <field name="min_date" readonly="1"/>
 
719
                            <field name="stock_journal_id" groups="base.group_extended" widget="selection" invisible="True" />
714
720
                            <field name="reason_type_id" widget="selection"/>
715
721
                            <field name="sale_id" invisible="True" />
716
722
                            <field name="subtype" invisible="True" />
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" />
759
765
 
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','&lt;&gt;','view')]" on_change="location_dest_change(location_dest_id)" />
764
771
                                    </group>
765
772
 
772
779
 
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" />
909
917
                    <field name="num_of_packs" />
910
918
                    <field name="total_weight" />
911
919
                    <field name="date" />
 
920
                    <field name="shipment_expected_date" />
912
921
                    <field name="state"/>
913
922
                    <button name="create_shipment" states="draft" string="Create Shipment..." type="object" icon="gtk-add"/>
914
923
                    <button name="ship" states="packed" string="Ship" type="object" icon="gtk-redo"/>
927
936
                        <group colspan="4" col="4">
928
937
                            <field name="name" readonly="1"/>
929
938
                            <field name="date" readonly="True" />
 
939
                            <field name="shipment_actual_date" />
 
940
                            <field name="shipment_expected_date" attrs="{'readonly': [('state', 'not in', ('draft', 'packed'))]}" />
930
941
                            <field name="transport_type" />
931
942
                            <field name="partner_id" readonly="1"/>
932
943
                            <field name="backshipment_id" readonly="True" />
1092
1103
            <field name="view_mode">calendar</field>
1093
1104
            <field name="act_window_id" ref="action_shipment"/>
1094
1105
        </record>
1095
 
        <menuitem action="action_shipment" id="menu_action_shipment" parent="stock.menu_stock_warehouse_mgmt" sequence="6"/>
 
1106
        <menuitem action="action_shipment" id="menu_action_shipment" parent="menu_warehouse_deliveries" sequence="6"/>
1096
1107
        
1097
1108
        <!-- 
1098
1109
        <record id="action_create_shipment_wizard" model="ir.actions.act_window">