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
=== modified file 'bin/addons/board/queries_finance.py'
--- bin/addons/board/queries_finance.py 2022-03-25 17:22:55 +0000
+++ bin/addons/board/queries_finance.py 2023-02-23 11:18:30 +0000
@@ -108,8 +108,8 @@
108 'title': _('Unbalanced reconciliations in functional currency'),108 'title': _('Unbalanced reconciliations in functional currency'),
109 'headers': [_('Reconcile number'), _('Reconcile date'), _('Difference')],109 'headers': [_('Reconcile number'), _('Reconcile date'), _('Difference')],
110 'query': """SELECT rec.name, 'rec_date', sum(l.credit-l.debit)110 'query': """SELECT rec.name, 'rec_date', sum(l.credit-l.debit)
111from account_move_line l, account_move_reconcile rec111from account_move_line l, account_move_reconcile rec, msf_instance inst
112where l.reconcile_id=rec.id112where l.reconcile_id=rec.id and l.instance_id=inst.id and not (rec.is_multi_instance='t' and inst.level='project')
113%s113%s
114group by rec.id, rec.name114group by rec.id, rec.name
115having(abs(sum(l.credit-l.debit)) > 0.0001)115having(abs(sum(l.credit-l.debit)) > 0.0001)
@@ -121,8 +121,8 @@
121 'title': _('Unbalanced reconciliations in booking currency'),121 'title': _('Unbalanced reconciliations in booking currency'),
122 'headers': [_('Reconcile number'), _('Reconcile date'), _('Difference')],122 'headers': [_('Reconcile number'), _('Reconcile date'), _('Difference')],
123 'query': """SELECT rec.name, 'rec_date', sum(l.credit_currency-l.debit_currency)123 'query': """SELECT rec.name, 'rec_date', sum(l.credit_currency-l.debit_currency)
124from account_move_line l, account_move_reconcile rec124from account_move_line l, account_move_reconcile rec, msf_instance inst
125where l.reconcile_id=rec.id125where l.reconcile_id=rec.id and l.instance_id=inst.id and not (rec.is_multi_instance='t' and inst.level='project')
126%s126%s
127group by rec.id, rec.name127group by rec.id, rec.name
128having(abs(sum(l.credit_currency-l.debit_currency)) > 0.0001 and count(distinct(l.currency_id))=1)128having(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