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
19
rma/models/product.py
Normal file
19
rma/models/product.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- 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 fields, models
|
||||
|
||||
|
||||
class ProductCategory(models.Model):
|
||||
_inherit = 'product.category'
|
||||
|
||||
rma_operation_id = fields.Many2one(
|
||||
comodel_name="rma.operation", string="RMA Operation")
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = 'product.template'
|
||||
|
||||
rma_operation_id = fields.Many2one(
|
||||
comodel_name="rma.operation", string="RMA Operation")
|
||||
Reference in New Issue
Block a user