bank-payment/account_payment_order_grouped_output/models/account_move.py
2024-10-01 07:24:28 +02:00

17 lines
429 B
Python

# Copyright 2022 Tecnativa - Pedro M. Baeza
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from flectra import fields, models
class AccountMove(models.Model):
_inherit = "account.move"
grouped_payment_order_id = fields.Many2one(
comodel_name="account.payment.order",
string="Payment Order (Grouped)",
copy=False,
readonly=True,
check_company=True,
)