utm/models/utm_stage.py
Данил Воробьев 3010bdfaae initial commit
2024-05-03 12:31:11 +00:00

17 lines
381 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class UtmStage(models.Model):
"""Stage for utm campaigns."""
_name = 'utm.stage'
_description = 'Campaign Stage'
_order = 'sequence'
name = fields.Char(required=True, translate=True)
sequence = fields.Integer(default=1)