Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Denmark - Bookkeeping Act

Entity: account.move

Compute Method: _compute_show_currency_rate

Inputs Method Outputs
  • country_code
  • company_currency_id
  • currency_id
  • line_ids
for record in self:
            record.l10n_dk_show_currency_rate = record.country_code == 'DK' and record.company_currency_id != record.currency_id and record.line_ids

Back to entity