1
<?xml version="1.0" encoding="utf-8"?>
4
<record id="pedigree_serialization_manager_out_view" model="ir.ui.view">
5
<field name="name">pedigree.serialization.manager.view.form</field>
6
<field name="model">stock.picking</field>
7
<field name="type">form</field>
8
<field name="inherit_id" ref="stock.view_picking_out_form" />
9
<field name="arch" type="xml">
10
<xpath expr='/form/notebook/page[@string="Products"]/field[@name="move_lines"]/tree[@string="Stock Moves"]/button[@string="Split in production lots"]' position="replace">
11
<button name="%(track_line2)d" string="Split in production lots" type="action" icon="terp-stock_effects-object-colorize" states="draft,waiting,confirmed,assigned" groups="base.group_extended" />
16
<record id="pedigree_serialization_manager_view" model="ir.ui.view">
17
<field name="name">pedigree.serialization.manager.view.form</field>
18
<field name="model">stock.picking</field>
19
<field name="type">form</field>
20
<field name="inherit_id" ref="stock.view_picking_form" />
21
<field name="arch" type="xml">
22
<xpath expr='/form/notebook/page[@string="Products"]/field[@name="move_lines"]/tree[@string="Stock Moves"]/button[@string="Split in production lots"]' position="replace">
23
<button name="%(track_line2)d" string="Split in production lots" type="action" icon="terp-stock_effects-object-colorize" states="draft,waiting,confirmed,assigned" groups="base.group_extended" />
28
<record id="pedigree_serialization_manager_in_view" model="ir.ui.view">
29
<field name="name">pedigree.serialization.manager.view.form</field>
30
<field name="model">stock.picking</field>
31
<field name="type">form</field>
32
<field name="inherit_id" ref="stock.view_picking_in_form" />
33
<field name="arch" type="xml">
34
<xpath expr='/form/notebook/page[@string="General Information"]/field[@name="move_lines"]/tree[@string="Stock Moves"]/button[@string="Split in production lots"]' position="replace">
35
<button name="%(track_line2)d" string="Split in production lots" type="action" icon="terp-stock_effects-object-colorize" states="draft,waiting,confirmed,assigned" groups="base.group_extended" />
40
<record id="psm_view_production_lot_form" model="ir.ui.view">
41
<field name="name">psm.stock.production.lot.form</field>
42
<field name="model">stock.production.lot</field>
43
<field name="type">form</field>
44
<field name="inherit_id" ref="stock.view_production_lot_form" />
45
<field name="arch" type="xml">
46
<xpath expr='//field[@name="ref"]' position="replace">
47
<field name="ref" readonly="1" colspan="4" />
49
<xpath expr='//button[@string="Downstream Traceability"]' position="after">
50
<field name="check_serial" readonly="1" colspan="4" />
1
<?xml version='1.0' encoding='UTF-8'?>
4
<record id="2pedigree_serialization_manager_out_view" model="ir.ui.view">
5
<field name="name">pedigree.serialization.manager.view.form</field>
6
<field name="model">stock.move</field>
7
<field name="inherit_id" ref="stock.view_move_picking_tree"/>
8
<field name="arch" type="xml">
9
<xpath expr="//button[@string='Split in Serial Number']" position="replace">
10
<button name="%(track_line2)d" string="Split in Serial Numbers" type="action" icon="terp-stock_effects-object-colorize" states="draft,waiting,confirmed,assigned" groups="base.group_extended"/>
16
<record id="psm_view_production_lot_form" model="ir.ui.view">
17
<field name="name">psm.stock.production.lot.form</field>
18
<field name="model">stock.production.lot</field>
19
<field name="inherit_id" ref="stock.view_production_lot_form"/>
20
<field name="arch" type="xml">
21
<xpath expr="//field[@name="ref"]" position="replace">
22
<field name="ref" readonly="1" colspan="4"/>
24
<xpath expr="//button[@string="Downstream Traceability"]" position="after">
25
<field name="check_serial" readonly="1" colspan="4"/>