|
@@ -554,7 +554,7 @@ class HledgerSellEntry(HledgerBillingEntry):
|
|
|
# HledgerSocialEntry: A ledger entry corresponding to a tax
|
|
|
#
|
|
|
class HledgerSocialEntry(HledgerEntry):
|
|
|
- k_accounting_date = 'date_ech'
|
|
|
+ k_accounting_date = 'periode'
|
|
|
|
|
|
def _sql_class(self):
|
|
|
return self.dolibarr_alchemy.CotisationsSociales
|
|
@@ -605,7 +605,7 @@ class HledgerSocialEntry(HledgerEntry):
|
|
|
s = ""
|
|
|
|
|
|
s += "%(date)s %(description)s\n" % {
|
|
|
- 'date': e.date_ech.strftime("%Y/%m/%d"),
|
|
|
+ 'date': e.periode.strftime("%Y/%m/%d"),
|
|
|
'description': e.libelle + " - " + e.type.libelle
|
|
|
}
|
|
|
|