first push message

This commit is contained in:
2026-07-01 14:41:49 +07:00
parent 6667dec2bf
commit 58b5f46cc4
2951 changed files with 316619 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from odoo import fields, models
class SaasPlan(models.Model):
"""Selectable subscription plans:
3 Months ($X) / 6 Months ($Y) / 1 Year ($Z)
"""
_name = 'saas.plan'
_description = 'SaaS Subscription Plan'
_order = 'duration_months'
name = fields.Char(required=True)
duration_months = fields.Integer('Duration (Months)', required=True)
price = fields.Monetary(required=True)
currency_id = fields.Many2one(
'res.currency', default=lambda self: self.env.company.currency_id
)
active = fields.Boolean(default=True)