bank-payment/account_payment_order_grouped_output/models/account_move.py

17 lines
429 B
Python
Raw Permalink Normal View History

2023-05-19 08:19:51 +00:00
# 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,
)