12 lines
242 B
Python
12 lines
242 B
Python
![]() |
from odoo import fields, models
|
||
|
|
||
|
|
||
|
class SaleOrder(models.Model):
|
||
|
_inherit = 'sale.order'
|
||
|
|
||
|
contract_id = fields.Many2one(
|
||
|
'res.partner.contract',
|
||
|
string='Contract',
|
||
|
help='Contract, assigned to this order'
|
||
|
)
|