1 def default_fiscal_year(self): 2 current_period = self.env[‘account.fiscalyear‘].find() 3 current_fiscalyear = self.env[‘account.fiscalyear‘].browse([current_period]) 4 return current_fiscalyear
时间: 2024-12-15 01:41:23
1 def default_fiscal_year(self): 2 current_period = self.env[‘account.fiscalyear‘].find() 3 current_fiscalyear = self.env[‘account.fiscalyear‘].browse([current_period]) 4 return current_fiscalyear