From f43d6f8a975079c6789354b643e9182192d08438 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 7 Mar 2016 17:51:28 +0100 Subject: [PATCH] [FIX] contract_recurring_invoicing_marker: Incorrect default date format --- .../models/account_analytic_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract_recurring_invoicing_marker/models/account_analytic_account.py b/contract_recurring_invoicing_marker/models/account_analytic_account.py index b4828584..40ac4638 100644 --- a/contract_recurring_invoicing_marker/models/account_analytic_account.py +++ b/contract_recurring_invoicing_marker/models/account_analytic_account.py @@ -39,7 +39,7 @@ class AccountAnalyticAccount(models.Model): contract = line.analytic_account_id lang = lang_obj.search( [('code', '=', contract.partner_id.lang)]) - date_format = lang.date_format or '%d/%M/%Y' + date_format = lang.date_format or '%m/%d/%Y' res['name'] = self._insert_markers( res['name'], self.env.context['old_date'], self.env.context['next_date'], date_format)