mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Remove self.ensure_one from @api.one.
This commit is contained in:
@@ -213,7 +213,6 @@ class Currency_rate_update_service(models.Model):
|
||||
@api.one
|
||||
def refresh_currency(self):
|
||||
"""Refresh the currencies rates !!for all companies now"""
|
||||
self.ensure_one()
|
||||
factory = Currency_getter_factory()
|
||||
curr_obj = self.env['res.currency']
|
||||
rate_obj = self.env['res.currency.rate']
|
||||
|
||||
Reference in New Issue
Block a user