Files
odoo_source/addons/utm/models/utm_source.py
T
std-odoo b15fc956ad [MOV] utm: split models in different files
Purpose
=======

This commit cleans the UTM module and uses a different file for each model
in order to clarify organization and ease reading. Each model belongs to
its file.

Task-2245823

Part-of: odoo/odoo#83070
2022-01-20 10:06:47 +00:00

13 lines
300 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class UtmSource(models.Model):
_name = 'utm.source'
_description = 'UTM Source'
name = fields.Char(string='Source Name', required=True, translate=True)