12 lines
243 B
Python
Raw Normal View History

2019-11-12 16:16:14 +05:00
from odoo import fields, models
class SaleOrder(models.Model):
2019-12-17 09:53:47 +05:00
_inherit = "sale.order"
2019-11-12 16:16:14 +05:00
contract_id = fields.Many2one(
2019-12-17 09:53:47 +05:00
"res.partner.contract",
string="Contract",
help="Contract, assigned to this order",
2019-11-12 16:16:14 +05:00
)