Home‎ > ‎Services‎ > ‎OpenERP‎ > ‎Technical Documentation‎ > ‎

Module - Serial Picking Manager



This module from Vauxoo allows you to automatically split products into individual pickings to allow unique serial numbers to be assigned to them.







Source:
  • http://code.ohloh.net/project?pid=Xtc41atOb_I&prevcid=1&browser=Default&did=addons-vauxoo%2Fpsm&cid=i1gUJ96GjSk
  • http://code.ohloh.net/file?fid=0C9KrXw6pZvNCTgJAxXvSdq6jzA&cid=i1gUJ96GjSk&s=&browser=Default#L0

other modules from Vauxoo: 
  • http://code.ohloh.net/project?pid=Xtc41atOb_I&prevcid=1&browser=Default&did=addons-vauxoo&cid=i1gUJ96GjSk

Picking - Shipping Goods


<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <record id="pedigree_serialization_manager_out_view" model="ir.ui.view">
      <field name="name">pedigree.serialization.manager.view.form</field>
      <field name="model">stock.picking</field>
      <field name="type">form</field>
      <field name="inherit_id" ref="stock.view_picking_out_form" />
      <field name="arch" type="xml">
        <xpath expr='/form/notebook/page[@string="Products"]/field[@name="move_lines"]/tree[@string="Stock Moves"]/button[@string="Split in production lots"]' position="replace">
          <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" />
        </xpath>
      </field>
    </record>
 


Picking - Stock Picking Form

Menu /Warehouse / Internal Moves /   select the internal move transaciton e.g. INT/00008.. Double click to open. The form view will be opened. In Within the LOT column,  select the lot-split icon.Select the LOT split  form view and go to the internal move transaction   

   
    <record id="pedigree_serialization_manager_view" model="ir.ui.view">
      <field name="name">pedigree.serialization.manager.view.form</field>
      <field name="model">stock.picking</field>
      <field name="type">form</field>
      <field name="inherit_id" ref="stock.view_picking_form" />
      <field name="arch" type="xml">
        <xpath expr='/form/notebook/page[@string="Products"]/field[@name="move_lines"]/tree[@string="Stock Moves"]/button[@string="Split in production lots"]' position="replace">
          <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" />
        </xpath>
      </field>
    </record>
  

Picking - Stock goods Receipt form
  
    <record id="pedigree_serialization_manager_in_view" model="ir.ui.view">
      <field name="name">pedigree.serialization.manager.view.form</field>
      <field name="model">stock.picking</field>
      <field name="type">form</field>
      <field name="inherit_id" ref="stock.view_picking_in_form" />
      <field name="arch" type="xml">
        <xpath expr='/form/notebook/page[@string="General Information"]/field[@name="move_lines"]/tree[@string="Stock Moves"]/button[@string="Split in production lots"]' position="replace">
          <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" />
        </xpath>
      </field>
    </record>
    
    <record id="psm_view_production_lot_form" model="ir.ui.view">
      <field name="name">psm.stock.production.lot.form</field>
      <field name="model">stock.production.lot</field>
      <field name="type">form</field>
      <field name="inherit_id" ref="stock.view_production_lot_form" />
      <field name="arch" type="xml">
        <xpath expr='//field[@name="ref"]' position="replace">
          <field name="ref" readonly="1" colspan="4" />
        </xpath>
        <xpath expr='//button[@string="Downstream Traceability"]' position="after">
          <field name="check_serial" readonly="1" colspan="4" />
        </xpath>
      </field>
    </record>
    
  </data>
</openerp>

Comments