I want to write schedule action using front end.I mean I go to setting--> techinal-->schedule action and create and I want to add the following code.How can I do that?
@api.model def fix_currency(self): fix = self.env.cr.execute("update res_currency set rounding='0.01000' WHERE name='USD'") fix = self.env.cr.execute("update res_currency set decimal_places='2' WHERE name='USD'")