Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
sale_partner_primeship/models/product_template.py
Executable file
13
sale_partner_primeship/models/product_template.py
Executable file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2021 Akretion France (http://www.akretion.com/)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = "product.template"
|
||||
|
||||
primeship_activation = fields.Boolean(string="Activates primeship", default=False)
|
||||
primeship_duration = fields.Integer(
|
||||
string="Primeship duration (in months)", default=12
|
||||
)
|
||||
Reference in New Issue
Block a user