Merge PR #627 into 16.0

Signed-off-by etobella
This commit is contained in:
OCA-git-bot
2024-02-08 11:16:50 +00:00
2 changed files with 7 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2023 Dixmit
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo import _, models
from odoo import _, fields, models
from odoo.exceptions import ValidationError
@@ -9,6 +9,11 @@ class AccountMoveLine(models.Model):
_inherit = "account.move.line"
invoice_due_date = fields.Date(
related="move_id.invoice_date_due",
readonly=True,
)
def action_reconcile_manually(self):
if not self:
return {}

View File

@@ -11,6 +11,7 @@
<tree js_class="reconcile_move_line">
<field name="date" />
<field name="move_id" optional="show" />
<field name="invoice_due_date" optional="show" />
<field name="account_id" optional="show" />
<field name="partner_id" />
<field name="company_currency_id" invisible="1" />