mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
21 lines
648 B
Python
21 lines
648 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2015 Eezee-It, MONK Software, Vauxoo
|
|
# © 2013 Camptocamp
|
|
# © 2009-2013 Akretion,
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from openerp import fields, models
|
|
|
|
|
|
class SubstateSubstate(models.Model):
|
|
""" To precise a state (state=refused; substates= reason 1, 2,...)
|
|
"""
|
|
|
|
_name = "substate.substate"
|
|
_description = "substate that precise a given state"
|
|
|
|
name = fields.Char('Sub state', required=True)
|
|
substate_descr = fields.Text('Description',
|
|
help="To give more "
|
|
"information about the sub state")
|