stock_location.py 205 B

12345678
  1. # -*- coding: utf-8 -*-
  2. from openerp.http import request as r
  3. def get_stock_location_id():
  4. stock_location = r.env['stock.location'].search([('usage', '=', 'internal')])
  5. return stock_location.id