Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion l10n_ar_ux/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Argentinian Accounting UX",
"name": "Argentinian Accounting UX edit",
"version": "19.0.1.6.0",
"category": "Localization/Argentina",
"sequence": 14,
Expand Down
1 change: 1 addition & 0 deletions l10n_ar_ux/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def _compute_invoice_currency_rate(self):
and x.company_id.country_id == self.env.ref("base.ar")
and x.currency_id != x.company_id.currency_id
and x.reversed_entry_id.currency_id == x.currency_id
and x.reversed_entry_id.currency_id == x.currency_id
)
for rec in ar_reversed_other_currency:
rec.invoice_currency_rate = rec.reversed_entry_id.invoice_currency_rate
Expand Down
2 changes: 1 addition & 1 deletion l10n_ar_ux/models/account_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ def _get_name_receipt_report(self, report_xml_id):
"""Method similar to the '_get_name_invoice_report' of l10n_latam_invoice_document
Basically it allows different localizations to define it's own report
This method should actually go in a sale_ux module that later can be extended by different localizations
Another option would be to use report_substitute module and setup a subsitution with a domain
"""
self.ensure_one()
self.ensure_one()
if self.company_id.country_id.code == "AR" and self.is_internal_transfer:
return "l10n_ar_ux.report_account_transfer"
return super()._get_name_receipt_report(report_xml_id)
Loading