Merge lp:~julie-w/unifield-server/US-5269 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 5139
Proposed branch: lp:~julie-w/unifield-server/US-5269
Merge into: lp:unifield-server
Diff against target: 18 lines (+7/-1)
1 file modified
bin/addons/register_accounting/account_bank_statement.py (+7/-1)
To merge this branch: bzr merge lp:~julie-w/unifield-server/US-5269
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+358301@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/addons/register_accounting/account_bank_statement.py'
--- bin/addons/register_accounting/account_bank_statement.py 2018-09-24 10:28:33 +0000
+++ bin/addons/register_accounting/account_bank_statement.py 2018-11-05 08:47:56 +0000
@@ -1925,7 +1925,13 @@
1925 process_invoice_move_line_ids = []1925 process_invoice_move_line_ids = []
1926 total_payment = True1926 total_payment = True
1927 diff = st_line.first_move_line_id.amount_currency - total_amount1927 diff = st_line.first_move_line_id.amount_currency - total_amount
1928 if len(st_line.imported_invoice_line_ids) > 1 and abs(diff) > 0.001:1928 nb_imported_inv = len(st_line.imported_invoice_line_ids)
1929 if nb_imported_inv == 1 and abs(diff) > 0.001: # 1 single invoice partially imported
1930 inv_ml = st_line.imported_invoice_line_ids[0]
1931 if inv_ml:
1932 ji_description = inv_ml.invoice.number or st_line.first_move_line_id.name or ''
1933 move_line_obj.write(cr, uid, move_lines, {'name': ji_description}, check=False, update_check=False, context=context)
1934 elif nb_imported_inv > 1 and abs(diff) > 0.001:
1929 # multi unpartial payment1935 # multi unpartial payment
1930 total_payment = False1936 total_payment = False
1931 # Delete them1937 # Delete them

Subscribers

People subscribed via source and target branches