Skip to content

Commit

Permalink
[FIX] l10n_ar_ux: invoice report sign and update manifest version
Browse files Browse the repository at this point in the history
closes #770

Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
  • Loading branch information
jjscarafia committed Dec 12, 2023
1 parent d15716c commit 6d81d9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion l10n_ar_ux/__manifest__.py
@@ -1,6 +1,6 @@
{
'name': 'Argentinian Accounting UX',
'version': "16.0.1.8.0",
'version': "16.0.1.9.0",
'category': 'Localization/Argentina',
'sequence': 14,
'author': 'ADHOC SA',
Expand Down
2 changes: 1 addition & 1 deletion l10n_ar_ux/reports/invoice_report.py
Expand Up @@ -37,7 +37,7 @@ def _select(self):
(CASE WHEN move
.move_type IN ('in_refund','out_refund','in_receipt') THEN -1 ELSE 1 END) as discount_amount,
-line.balance * (line.price_total / NULLIF(line.price_subtotal, 0.0)) AS total_cc,
-line.price_subtotal as price_subtotal_ic
line.price_subtotal * (CASE WHEN move.move_type IN ('in_refund', 'out_invoice') THEN 1 ELSE -1 END) as price_subtotal_ic
"""

def _group_by(self):
Expand Down

0 comments on commit 6d81d9b

Please sign in to comment.