mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 01:32:00 +02:00
14 lines
348 B
Python
14 lines
348 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class SaleOrderLine(models.Model):
|
|
_inherit = 'sale.order.line'
|
|
|
|
expense_ids = fields.One2many(
|
|
comodel_name='hr.expense',
|
|
inverse_name='sale_order_line_id',
|
|
string='Expenses',
|
|
readonly=True,
|
|
)
|