himport.conf.template 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. import datetime
  4. #
  5. # GENERAL
  6. #
  7. OUTPUT_DIR = "./out"
  8. OUTPUT_FILES = {
  9. "bank": "%year%/ecritures.d/banque.journal",
  10. "sells": "%year%/ecritures.d/vente.journal",
  11. "suppliers": "%year%/ecritures.d/achat.journal",
  12. "pc": "plan.journal",
  13. }
  14. MYSQL_SETTINGS = {
  15. "host": "localhost",
  16. "database": "dolibarr_test",
  17. "user": "dolibarr_test",
  18. "password": "dae1ohCu",
  19. "port": 3306,
  20. }
  21. #
  22. # Describe accounting year if not standard (from 1st january to 31 december)
  23. #
  24. ACCOUNTING_YEARS = {
  25. ("2012", "2011/01/01", "2012/12/31")
  26. }
  27. TVA_REFS = {
  28. 'tva_deductible': '4456',
  29. 'tva_collecte': '4457',
  30. }
  31. #
  32. # Plan comptables (nom, description)
  33. #
  34. PC_NAMES = {
  35. '1' : 'capitaux',
  36. '11' : 'capitaux:report à nouveau',
  37. '117' : 'capitaux:report à nouveau:positif',
  38. '119' : 'capitaux:report à nouveau:négatif',
  39. '12' : 'capitaux:résultat',
  40. '120' : 'capitaux:résultat:positif',
  41. '129' : 'capitaux:résultat:négatif',
  42. '2' : 'immobilisations',
  43. '201' : "immobilisations:incorporelles:frais d'établissement",
  44. '21' : "immobilisations:corporelles",
  45. '2183' : "immobilisations:corporelles:matériel informatique",
  46. '2184' : "immobilisations:corporelles:mobilier",
  47. '281' : "immobilisations:amortissements",
  48. '2801' : "immobilisations:amortissements:incorporelles",
  49. '2818' : "immobilisations:amortissements:corporelles",
  50. '28183' : "immobilisations:amortissements:corporelles:matériel informatique",
  51. '28184' : "immobilisations:amortissements:corporelles:mobilier",
  52. '4' : "tiers",
  53. '40' : "tiers:fournisseurs",
  54. '401101' : "tiers:fournisseurs:telehouse",
  55. '401102' : "tiers:fournisseurs:Liazo",
  56. '401103' : "tiers:fournisseurs:Absolight",
  57. '401104' : "tiers:fournisseurs:Tata Communication",
  58. '401105' : "tiers:fournisseurs:Lost Oasis",
  59. '401106' : "tiers:fournisseurs:RIPE NCC",
  60. '401107' : "tiers:fournisseurs:Crédit Mutuel",
  61. '401108' : "tiers:fournisseurs:LCD International",
  62. '401109' : "tiers:fournisseurs:CICP",
  63. '401110' : "tiers:fournisseurs:Alturna Network",
  64. '401111' : "tiers:fournisseurs:GANDI SAS",
  65. '401112' : "tiers:fournisseurs:AS Info",
  66. '41' : "tiers:clients",
  67. '411101' : "tiers:clients:Altern B",
  68. '411102' : "tiers:clients:FDN",
  69. '411103' : "tiers:clients:Globenet",
  70. '411104' : "tiers:clients:Linagora",
  71. '411105' : "tiers:clients:Gixe",
  72. '411106' : "tiers:clients:LAutreNet",
  73. '411107' : "tiers:clients:Rézine",
  74. '411108' : "tiers:clients:Tetaneutral",
  75. '411109' : "tiers:clients:Grenode",
  76. '411110' : "tiers:clients:Franciliens",
  77. '411111' : "tiers:clients:Illyse",
  78. '411112' : "tiers:clients:Ilico",
  79. '411113' : "tiers:clients:Octopuce",
  80. '411114' : "tiers:clients:Artefact",
  81. '411115' : "tiers:clients:NDN",
  82. '411116' : "tiers:clients:LDN",
  83. '411117' : "tiers:clients:Neutrinet",
  84. '411118' : "tiers:clients:AssoDIUT",
  85. '411119' : "tiers:clients:Rhizome",
  86. '411120' : "tiers:clients:BeTech",
  87. '411121' : "tiers:clients:personne physique",
  88. '445' : "tiers:etat:tva",
  89. '4456' : "tiers:etat:tva:déductible",
  90. '4457' : "tiers:etat:tva:collecté",
  91. '468' : "tiers:divers",
  92. '4686' : "tiers:divers:charges à payer",
  93. '5' : "finances",
  94. '512' : "finances:banque",
  95. '5121' : "finances:banque:Crédit Mutuel",
  96. '5122' : "finances:banque:GIE",
  97. '532' : "finances:chèques à encaisser",
  98. '6' : "charges",
  99. '60' : "charges:achats",
  100. '604' : "charges:achats:prestation de services",
  101. '606' : "charges:achats:non-stockés",
  102. '6061' : "charges:achats:non-stockés:fournitures non stockables",
  103. '6063' : "charges:achats:non-stockés:fournitures d'entretien et petits équipements",
  104. '6064' : "charges:achats:non-stockés:fournitures administratives",
  105. '6068' : "charges:achats:non-stockés:autres matières et fournitures",
  106. '61' : "charges:services",
  107. '613' : "charges:services:locations",
  108. '613001' : "charges:services:locations:hosting",
  109. '613002' : "charges:services:locations:lir",
  110. '616' : "charges:services:assurances",
  111. '62' : "charges:autres services",
  112. '6227' : "charges:autres services:frais d'actes",
  113. '626' : "charges:autres services:pce",
  114. '626001' : "charges:autres services:pce:internet",
  115. '625' : "charges:autres services:déplacement, missions,réceptions",
  116. '627' : "charges:autres services:banque",
  117. '628' : "charges:autres services:divers",
  118. '6281' : "charges:autres services:divers:cotisations",
  119. '651' : "charges:redevances",
  120. '672' : "charges:charges sur exercices antérieur",
  121. '6811' : "charges:amortissements",
  122. '68111' : "charges:amortissements:incorporelles",
  123. '68112' : "charges:amortissements:corporelles",
  124. '7' : "produits",
  125. '706' : "produits:services",
  126. '706001' : "produits:services:routage",
  127. '706002' : "produits:services:commutation",
  128. '706003' : "produits:services:lir",
  129. '7060031' : "produits:services:lir:pi",
  130. '7060032' : "produits:services:lir:pa",
  131. '706004' : "produits:services:hosting",
  132. '706005' : "produits:services:transit",
  133. '7060050' : "produits:services:transit:bp-0",
  134. '7060051' : "produits:services:transit:bp-a",
  135. '7060052' : "produits:services:transit:bp-b",
  136. '7060053' : "produits:services:transit:bp-c",
  137. '7060054' : "produits:services:transit:bp-d",
  138. '756' : "produits:cotisations",
  139. '77' : "produits:exceptionnels",
  140. '7718' : "produits:exceptionnels:dons manuels",
  141. }
  142. PC_DESCRIPTIONS = {
  143. '41' : 'Clients et comptes rattachés',
  144. '5121': 'CC Crédit Mutuel',
  145. '5122': 'Compte GIE',
  146. }