2020-04-09 11:09:34 +02:00
|
|
|
# Copyright 2019 ForgeFlow S.L.
|
|
|
|
# (https://www.forgeflow.com)
|
|
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
|
|
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
|
|
|
|
|
|
class AccountMoveLine(models.Model):
|
|
|
|
_inherit = "account.move.line"
|
|
|
|
|
2021-08-04 10:49:35 +02:00
|
|
|
purchase_order_id = fields.Many2one(
|
2020-04-09 11:09:34 +02:00
|
|
|
comodel_name="purchase.order",
|
|
|
|
store=True,
|
|
|
|
index=True,
|
|
|
|
)
|