We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impacted versions: 16.0 enterprise currency_rate_live/models/res_config_settings.py def _parse_bnb_data(self, available_currencies)
Steps to reproduce: Update currency rate for Bulgarian National Bank
Current behavior: Wrong receiving rate. The some currency rates has ratio conversion. Example TRY is 100 per currency rate
Expected behavior: for row in islice(rowset.iterfind('.//ROW'), 1, None): code = row.findtext('CODE') rate = row.findtext('REVERSERATE') ratio = row.findtext('RATIO') curr_date = datetime.datetime.strptime(row.findtext('CURR_DATE'), '%d.%m.%Y').date() if code in available_currency_names and rate: result[code] = (float(rate)*float(ration), curr_date)
for row in islice(rowset.iterfind('.//ROW'), 1, None): code = row.findtext('CODE') rate = row.findtext('REVERSERATE') ratio = row.findtext('RATIO') curr_date = datetime.datetime.strptime(row.findtext('CURR_DATE'), '%d.%m.%Y').date() if code in available_currency_names and rate: result[code] = (float(rate)*float(ration), curr_date)
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Impacted versions: 16.0 enterprise
currency_rate_live/models/res_config_settings.py
def _parse_bnb_data(self, available_currencies)
Steps to reproduce: Update currency rate for Bulgarian National Bank
Current behavior: Wrong receiving rate. The some currency rates has ratio conversion. Example TRY is 100 per currency rate
Expected behavior:
for row in islice(rowset.iterfind('.//ROW'), 1, None): code = row.findtext('CODE') rate = row.findtext('REVERSERATE') ratio = row.findtext('RATIO') curr_date = datetime.datetime.strptime(row.findtext('CURR_DATE'), '%d.%m.%Y').date() if code in available_currency_names and rate: result[code] = (float(rate)*float(ration), curr_date)
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered: