Merge lp:~mukunde/unifield-server/US-10996 into lp:unifield-server

Proposed by jftempo
Status: Needs review
Proposed branch: lp:~mukunde/unifield-server/US-10996
Merge into: lp:unifield-server
Diff against target: 25 lines (+4/-4)
1 file modified
bin/addons/board/queries_finance.py (+4/-4)
To merge this branch: bzr merge lp:~mukunde/unifield-server/US-10996
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+437789@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

6398. By Gaël Mukunde

US-10996 [IMP] Code fix to use the level of current instance in the query clauses

6397. By Gaël Mukunde

US-10996 [IMP] Remove multi-level reconciliation from report at project level

6396. By jftempo

US-8557 [FIX] LetMefixIt: on direct invoice

6395. By jftempo

[IMP] RB Data: AfriFarmacia & It Company as customers

6394. By jftempo

US-9495 [IMP] Re-sync: allow to source a FO line from one instance to another instance (Internal/IM/IS)

lp:~jfb-tempo-consulting/unifield-server/US-9495

6393. By jftempo

US-10591 [IMP] Locations: Allow the creation of External CU locations with 'EPREP' in their names

lp:~dorian-kemps/unifield-server/US-10591

6392. By jftempo

US-8417 [FIX] Locations: Set virtual_location to True on the Service Location
    this way, RT on move to Service Location will not be "Loss"

lp:~dorian-kemps/unifield-server/US-8417

6391. By jftempo

US-8557 [FIX] AJI duplication: add sql lock on account_move_line to prevent duplicates on concurrent actions

lp:~jfb-tempo-consulting/unifield-server/US-8557

6390. By jftempo

US-10185 [FIX] Fo f/up report: if Pick cancelled, 0 must be displayed in "Qty to deliver" and "Qty delivered"

lp:~dorian-kemps/unifield-server/US-10185

6389. By jftempo

US-11042 [FIX] Sync server: acl on signature.image

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/board/queries_finance.py'
2--- bin/addons/board/queries_finance.py 2022-03-25 17:22:55 +0000
3+++ bin/addons/board/queries_finance.py 2023-02-23 11:18:30 +0000
4@@ -108,8 +108,8 @@
5 'title': _('Unbalanced reconciliations in functional currency'),
6 'headers': [_('Reconcile number'), _('Reconcile date'), _('Difference')],
7 'query': """SELECT rec.name, 'rec_date', sum(l.credit-l.debit)
8-from account_move_line l, account_move_reconcile rec
9-where l.reconcile_id=rec.id
10+from account_move_line l, account_move_reconcile rec, msf_instance inst
11+where l.reconcile_id=rec.id and l.instance_id=inst.id and not (rec.is_multi_instance='t' and inst.level='project')
12 %s
13 group by rec.id, rec.name
14 having(abs(sum(l.credit-l.debit)) > 0.0001)
15@@ -121,8 +121,8 @@
16 'title': _('Unbalanced reconciliations in booking currency'),
17 'headers': [_('Reconcile number'), _('Reconcile date'), _('Difference')],
18 'query': """SELECT rec.name, 'rec_date', sum(l.credit_currency-l.debit_currency)
19-from account_move_line l, account_move_reconcile rec
20-where l.reconcile_id=rec.id
21+from account_move_line l, account_move_reconcile rec, msf_instance inst
22+where l.reconcile_id=rec.id and l.instance_id=inst.id and not (rec.is_multi_instance='t' and inst.level='project')
23 %s
24 group by rec.id, rec.name
25 having(abs(sum(l.credit_currency-l.debit_currency)) > 0.0001 and count(distinct(l.currency_id))=1)

Subscribers

People subscribed via source and target branches