Files
contract/product_contract/models/contract_line.py
sbejaoui 6b59233c36 [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2022-06-18 14:50:18 +02:00

17 lines
392 B
Python

# Copyright 2017 LasLabs Inc.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class AccountAnalyticInvoiceLine(models.Model):
_inherit = 'account.analytic.invoice.line'
sale_order_line_id = fields.Many2one(
comodel_name="sale.order.line",
string="Sale Order Line",
required=False,
copy=False,
)