utm/models/utm_stage.py

17 lines
381 B
Python
Raw Normal View History

2024-05-03 15:31:11 +03:00
# -*- 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)