Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to use Stock Warehouse in OpenERP(Odoo)?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 452
    Comment on it

    Step-1 Install the warehouse module.
    Step-2 After that custmozie .py(Python file) file:
    In below example, I have custmozied .py file. You can directly copy the below python code in your .py file -

    class stock_warehouse(osv.osv):
        _name = "stock.warehouse"
        _description = "Warehouse"
        _columns = {
            'name': fields.char('Name', size=128, required=True, select=True),
            'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
            'partner_id': fields.many2one('res.partner', 'Owner Address'),
            'lot_input_id': fields.many2one('stock.location', 'Location Input', required=True, domain=[('usage','<>','view')]),
            'lot_stock_id': fields.many2one('stock.location', 'Location Stock', required=True, domain=[('usage','=','internal')]),
            'lot_output_id': fields.many2one('stock.location', 'Location Output', required=True, domain=[('usage','<>','view')]),
        }

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: