changeset f9f10965c137 in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset;node=f9f10965c137
description:
        Add reconciliation to general ledger line

        This allow filtering out reconciled lines.

        issue5169
        review343141002
diffstat:

 CHANGELOG                         |  1 +
 account.py                        |  2 ++
 view/general_ledger_line_list.xml |  1 +
 3 files changed, 4 insertions(+), 0 deletions(-)

diffs (31 lines):

diff -r 190b948f6029 -r f9f10965c137 CHANGELOG
--- a/CHANGELOG Sun Dec 27 00:19:30 2020 +0100
+++ b/CHANGELOG Mon Jan 04 21:29:23 2021 +0100
@@ -1,3 +1,4 @@
+* Add reconciliation to general ledger line
 * Make move's journal read-only once numbered
 * Add more term units to aged balance
 
diff -r 190b948f6029 -r f9f10965c137 account.py
--- a/account.py        Sun Dec 27 00:19:30 2020 +0100
+++ b/account.py        Mon Jan 04 21:29:23 2021 +0100
@@ -1947,6 +1947,8 @@
     origin = fields.Reference('Origin', selection='get_origin')
     description = fields.Char('Description')
     move_description = fields.Char('Move Description')
+    reconciliation = fields.Many2One(
+        'account.move.reconciliation', "Reconciliation")
     state = fields.Selection([
         ('draft', 'Draft'),
         ('posted', 'Posted'),
diff -r 190b948f6029 -r f9f10965c137 view/general_ledger_line_list.xml
--- a/view/general_ledger_line_list.xml Sun Dec 27 00:19:30 2020 +0100
+++ b/view/general_ledger_line_list.xml Mon Jan 04 21:29:23 2021 +0100
@@ -9,6 +9,7 @@
     <field name="description" expand="1"/>
     <field name="move_description" expand="1"/>
     <field name="origin"/>
+    <field name="reconciliation"/>
     <field name="state"/>
     <field name="debit" sum="Debit" symbol="currency"/>
     <field name="credit" sum="Credit" symbol="currency"/>

Reply via email to