[WIP][12.0][MIG] contract_sale_generation

This commit is contained in:
Murtuza Saleh
2020-09-30 22:01:22 +05:30
committed by Jesús Feliciano Valdez Cruz [Vauxoo]
parent 7e8a29cca1
commit d28e7ad3c4
47 changed files with 2794 additions and 1117 deletions

View File

@@ -0,0 +1,12 @@
# Copyright (C) 2020 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class SaleOrderLine(models.Model):
_inherit = 'sale.order.line'
contract_line_id = fields.Many2one(
'contract.line', string='Contract Line', index=True
)