2
0
account-financial-tools/account_move_line_purchase_info/models/account_move.py

16 lines
368 B
Python

# 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"
purchase_order_id = fields.Many2one(
comodel_name="purchase.order",
store=True,
index=True,
)