Skip to content

Commit

Permalink
[10.0] Update to work with latest version of invoice2data (OCA#51)
Browse files Browse the repository at this point in the history
* Update to work with latest version of invoice2data

* Add requirements.txt file
  • Loading branch information
Alexis de Lattre authored and koenloodts committed Dec 8, 2021
1 parent 3690228 commit 35ef3a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account_invoice_import/wizard/account_invoice_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,9 @@ def post_process_invoice(self, parsed_inv, invoice, import_config):
parsed_inv['amount_untaxed']
invoice.tax_line_ids[0].amount = tax_amount
cur_symbol = invoice.currency_id.symbol
invoice.message_post(
invoice.message_post(_(
'The total tax amount has been forced to %s %s '
'(amount computed by Odoo was: %s %s).'
'(amount computed by Odoo was: %s %s).')
% (tax_amount, cur_symbol, initial_tax_amount, cur_symbol))

@api.multi
Expand Down

0 comments on commit 35ef3a1

Please sign in to comment.