mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
13 lines
317 B
Python
13 lines
317 B
Python
# Copyright 2023 Domatix - Carlos Martínez
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountMove(models.Model):
|
|
_inherit = "account.move"
|
|
|
|
subscription_id = fields.Many2one(
|
|
comodel_name="sale.subscription", string="Subscription"
|
|
)
|