mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
init branch
This commit is contained in:
committed by
Carlos Vallés Fuster
parent
6d466171ca
commit
8088c3a829
26
rma/models/stock_warehouse.py
Normal file
26
rma/models/stock_warehouse.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# © 2017 Eficent Business and IT Consulting Services S.L.
|
||||
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html)
|
||||
|
||||
from openerp import api, fields, models
|
||||
|
||||
|
||||
class StockWarehouse(models.Model):
|
||||
|
||||
_inherit = "stock.warehouse"
|
||||
|
||||
lot_rma_id = fields.Many2one('stock.location', 'RMA Location')
|
||||
rma_cust_out_type_id = fields.Many2one('stock.picking.type',
|
||||
'RMA Customer out Type')
|
||||
rma_sup_out_type_id = fields.Many2one('stock.picking.type',
|
||||
'RMA Supplier out Type')
|
||||
rma_cust_in_type_id = fields.Many2one('stock.picking.type',
|
||||
'RMA Customer in Type')
|
||||
rma_sup_in_type_id = fields.Many2one('stock.picking.type',
|
||||
'RMA Supplier in Type')
|
||||
|
||||
|
||||
class StockLocationRoute(models.Model):
|
||||
_inherit = "stock.location.route"
|
||||
|
||||
rma_selectable = fields.Boolean(string="Selectable on RMA Lines")
|
||||
Reference in New Issue
Block a user