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-10-12 16:52:48
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