mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-12-25 22:01:44 +00:00
17 lines
429 B
Python
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,
|
||
|
)
|