mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
@@ -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 {}
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user