mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
17 lines
534 B
Python
17 lines
534 B
Python
# -*- 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 RmaRule(models.Model):
|
|
_name = 'rma.rule'
|
|
_description = 'RMA Approval Conditions'
|
|
|
|
name = fields.Char('Description', required=True)
|
|
code = fields.Char('Code', required=True)
|
|
approval_policy = fields.Selection([
|
|
('always', 'Always')], string="Approval Policy",
|
|
required=True, default='always')
|