mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
14 lines
462 B
Python
14 lines
462 B
Python
# Copyright 2017 Alexandre Díaz
|
|
# Copyright 2017 Dario Lodeiros
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
|
|
from odoo import api, fields, models, _
|
|
|
|
class AccountInvoiceLine(models.Model):
|
|
_inherit = 'account.invoice.line'
|
|
|
|
reservation_ids = fields.Many2many(
|
|
'hotel.reservation',
|
|
'reservation_line_invoice_rel',
|
|
'invoice_line_id', 'reservation_id',
|
|
string='Reservations', readonly=True, copy=False)
|