mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] cash daily report
This commit is contained in:
@@ -35,7 +35,7 @@ class CashDailyReportWizard(models.TransientModel):
|
||||
def automatic_period_lock_date(self):
|
||||
# The secong month day close the mont previous
|
||||
days = 2
|
||||
closeday = datetime.today().replace(day=days)
|
||||
closeday = datetime.date.today().replace(day=days)
|
||||
if datetime.date.today() >= closeday:
|
||||
companies = self.env['res.company'].search([])
|
||||
for record in companies:
|
||||
|
||||
Reference in New Issue
Block a user