~unifield-team/unifield-wm/trunk

« back to all changes in this revision

Viewing changes to stock_override/stock_view.xml

Removed groups= in xml (except for group_multi_company and group_no_one)

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
                                    <group colspan="2" col="4">
398
398
                                        <separator string="Traceability" colspan="4"/>
399
399
                                        <field name="asset_id" colspan="4" />
400
 
                                        <field name="prodlot_id" groups="base.group_extended"
 
400
                                        <field name="prodlot_id"
401
401
                                            context="{'location_id':location_id, 'product_id':product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory,'search_default_real': True}"
402
402
                                            domain="[('product_id','=?',product_id), ('check_type','=', True)]"
403
403
                                            on_change="onchange_lot_id(prodlot_id,product_qty, location_id, product_id, product_uom)" 
689
689
                                                <field name="state"/>
690
690
                    </group>
691
691
                    <newline/>
692
 
                    <group expand="0" string="Extended Filters..." colspan="4" col="8" groups="base.group_extended">
 
692
                    <group expand="0" string="Extended Filters..." colspan="4" col="8">
693
693
                            <field name="prodlot_id"/>
694
694
                    </group>
695
695
                    <newline/>
696
 
                    <group expand="0" string="Group By..." colspan="4" col="8" groups="base.group_extended">
 
696
                    <group expand="0" string="Group By..." colspan="4" col="8">
697
697
                        <filter string="Product" name="by_product" icon="terp-accessories-archiver" domain="[]"  context="{'group_by':'product_id'}"/>
698
698
                        <filter string="Picking" name="groupby_picking_id" icon="terp-accessories-archiver" domain="[]"  context="{'group_by':'picking_id'}"/>
699
699
                        <filter string="Lot" name="groupby_prodlot_id" icon="terp-accessories-archiver" domain="[]"  context="{'group_by':'prodlot_id'}"/>
955
955
                                <field name="reason_type_id" widget="selection" domain="[('is_inventory', '=', True)]" />
956
956
                                <field name="prod_lot_id"
957
957
                                    on_change="change_lot(location_id,product_id,prod_lot_id,product_uom,parent.date)"
958
 
                                    groups="base.group_extended"
959
958
                                    context="{'location_id':location_id, 'product_id': product_id, 'hidden_perishable_mandatory': hidden_perishable_mandatory, 'search_default_real': True}"
960
959
                                    domain="[('check_type','=', True), ('product_id', '=?', product_id)]"
961
960
                                    attrs="{'required': [('hidden_batch_management_mandatory', '=', True)], 'readonly': [('hidden_perishable_mandatory', '=', False), ('hidden_batch_management_mandatory', '=', False)]}" />
975
974
                                <field name="np_check" />
976
975
                                <field name="comment" />
977
976
                                <button name="%(stock.action_view_stock_inventory_line_split)d"
978
 
                                    string="Split inventory lines" groups="base.group_extended"
 
977
                                    string="Split inventory lines"
979
978
                                    type="action" icon="terp-stock_effects-object-colorize" states="draft,confirm"/>
980
979
                                <field name="state" invisible="True"/>
981
980
                            </tree>
986
985
                                <field name="product_qty"/>
987
986
                                <field name="product_uom"/>
988
987
                                <group colspan="2" col="4">
989
 
                                <field name="prod_lot_id" groups="base.group_extended"/>
 
988
                                <field name="prod_lot_id" />
990
989
                                    <button name="%(stock.action_view_stock_inventory_line_split)d"
991
 
                                        string="Split inventory lines" groups="base.group_extended"
 
990
                                        string="Split inventory lines"
992
991
                                        type="action" icon="terp-stock_effects-object-colorize"/>
993
992
                                </group>
994
993
                            </form>
995
994
                        </field>
996
995
                    </page>
997
 
                    <page string="Posted Inventory" groups="base.group_extended">
 
996
                    <page string="Posted Inventory">
998
997
                             <field colspan="2" name="move_ids" nolabel="1" widget="one2many_list" context="{'inventory_id':active_id}"  attrs="{'readonly': [('state', '!=', 'draft')]}">
999
998
                                <tree string="Stock Moves">
1000
999
                                    <field name="product_id"/>
1001
1000
                                    <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
1002
1001
                                    <field name="product_uom" string="UoM"/>
1003
 
                                    <field name="prodlot_id" groups="base.group_extended"/>
 
1002
                                    <field name="prodlot_id" />
1004
1003
                                    <field name="reason_type_id" widget="selection" domain="[('is_inventory', '=', True)]" />
1005
1004
                                     <button name="%(stock.track_line)d" string="Split in production lots" type="action"
1006
1005
                                        icon="terp-stock_effects-object-colorize"
1007
1006
                                        attrs="{'invisible': [('prodlot_id','&lt;&gt;',False)]}"
1008
1007
                                        states="draft,done,cancel"
1009
 
                                        context="{'inventory_id':parent.id}"
1010
 
                                        groups="base.group_extended"/>
1011
 
                                     <field groups="base.group_extended" name="tracking_id"/>
 
1008
                                        context="{'inventory_id':parent.id}" />
 
1009
                                     <field name="tracking_id"/>
1012
1010
                                     <button name="%(stock.split_into)d" string="Put in a new pack" type="action"
1013
 
                                        groups="base.group_extended"
1014
1011
                                        icon="terp-stock_effects-object-colorize"
1015
1012
                                        context="{'inventory_id':parent.id}"
1016
1013
                                        states="draft,done,cancel"/>