123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- # -*- coding: utf-8 -*-
- from __future__ import unicode_literals
- import datetime
- #
- # GENERAL
- #
- OUTPUT_DIR = "./out"
- OUTPUT_FILES = {
- "bank": "%year%/ecritures.d/banque.journal",
- "sells": "%year%/ecritures.d/vente.journal",
- "suppliers": "%year%/ecritures.d/achat.journal",
- "pc": "plan.journal",
- }
- MYSQL_SETTINGS = {
- "host": "localhost",
- "database": "dolibarr_test",
- "user": "dolibarr_test",
- "password": "dae1ohCu",
- "port": 3306,
- }
- #
- # Describe accounting year if not standard (from 1st january to 31 december)
- #
- ACCOUNTING_YEARS = {
- ("2012", "2011/01/01", "2012/12/31")
- }
- TVA_REFS = {
- 'tva_deductible': '4456',
- 'tva_collecte': '4457',
- }
- #
- # Plan comptables (nom, description)
- #
- PC_NAMES = {
- '1' : 'capitaux',
- '11' : 'capitaux:report à nouveau',
- '117' : 'capitaux:report à nouveau:positif',
- '119' : 'capitaux:report à nouveau:négatif',
- '12' : 'capitaux:résultat',
- '120' : 'capitaux:résultat:positif',
- '129' : 'capitaux:résultat:négatif',
- '2' : 'immobilisations',
- '201' : "immobilisations:incorporelles:frais d'établissement",
- '21' : "immobilisations:corporelles",
- '2183' : "immobilisations:corporelles:matériel informatique",
- '2184' : "immobilisations:corporelles:mobilier",
- '281' : "immobilisations:amortissements",
- '2801' : "immobilisations:amortissements:incorporelles",
- '2818' : "immobilisations:amortissements:corporelles",
- '28183' : "immobilisations:amortissements:corporelles:matériel informatique",
- '28184' : "immobilisations:amortissements:corporelles:mobilier",
- '4' : "tiers",
- '40' : "tiers:fournisseurs",
- '401101' : "tiers:fournisseurs:telehouse",
- '401102' : "tiers:fournisseurs:Liazo",
- '401103' : "tiers:fournisseurs:Absolight",
- '401104' : "tiers:fournisseurs:Tata Communication",
- '401105' : "tiers:fournisseurs:Lost Oasis",
- '401106' : "tiers:fournisseurs:RIPE NCC",
- '401107' : "tiers:fournisseurs:Crédit Mutuel",
- '401108' : "tiers:fournisseurs:LCD International",
- '401109' : "tiers:fournisseurs:CICP",
- '401110' : "tiers:fournisseurs:Alturna Network",
- '401111' : "tiers:fournisseurs:GANDI SAS",
- '401112' : "tiers:fournisseurs:AS Info",
- '41' : "tiers:clients",
- '411101' : "tiers:clients:Altern B",
- '411102' : "tiers:clients:FDN",
- '411103' : "tiers:clients:Globenet",
- '411104' : "tiers:clients:Linagora",
- '411105' : "tiers:clients:Gixe",
- '411106' : "tiers:clients:LAutreNet",
- '411107' : "tiers:clients:Rézine",
- '411108' : "tiers:clients:Tetaneutral",
- '411109' : "tiers:clients:Grenode",
- '411110' : "tiers:clients:Franciliens",
- '411111' : "tiers:clients:Illyse",
- '411112' : "tiers:clients:Ilico",
- '411113' : "tiers:clients:Octopuce",
- '411114' : "tiers:clients:Artefact",
- '411115' : "tiers:clients:NDN",
- '411116' : "tiers:clients:LDN",
- '411117' : "tiers:clients:Neutrinet",
- '411118' : "tiers:clients:AssoDIUT",
- '411119' : "tiers:clients:Rhizome",
- '411120' : "tiers:clients:BeTech",
- '411121' : "tiers:clients:personne physique",
- '445' : "tiers:etat:tva",
- '4456' : "tiers:etat:tva:déductible",
- '4457' : "tiers:etat:tva:collecté",
- '468' : "tiers:divers",
- '4686' : "tiers:divers:charges à payer",
- '5' : "finances",
- '512' : "finances:banque",
- '5121' : "finances:banque:Crédit Mutuel",
- '5122' : "finances:banque:GIE",
- '532' : "finances:chèques à encaisser",
- '6' : "charges",
- '60' : "charges:achats",
- '604' : "charges:achats:prestation de services",
- '606' : "charges:achats:non-stockés",
- '6061' : "charges:achats:non-stockés:fournitures non stockables",
- '6063' : "charges:achats:non-stockés:fournitures d'entretien et petits équipements",
- '6064' : "charges:achats:non-stockés:fournitures administratives",
- '6068' : "charges:achats:non-stockés:autres matières et fournitures",
- '61' : "charges:services",
- '613' : "charges:services:locations",
- '613001' : "charges:services:locations:hosting",
- '613002' : "charges:services:locations:lir",
- '616' : "charges:services:assurances",
- '62' : "charges:autres services",
- '6227' : "charges:autres services:frais d'actes",
- '626' : "charges:autres services:pce",
- '626001' : "charges:autres services:pce:internet",
- '625' : "charges:autres services:déplacement, missions,réceptions",
- '627' : "charges:autres services:banque",
- '628' : "charges:autres services:divers",
- '6281' : "charges:autres services:divers:cotisations",
- '651' : "charges:redevances",
- '672' : "charges:charges sur exercices antérieur",
- '6811' : "charges:amortissements",
- '68111' : "charges:amortissements:incorporelles",
- '68112' : "charges:amortissements:corporelles",
- '7' : "produits",
- '706' : "produits:services",
- '706001' : "produits:services:routage",
- '706002' : "produits:services:commutation",
- '706003' : "produits:services:lir",
- '7060031' : "produits:services:lir:pi",
- '7060032' : "produits:services:lir:pa",
- '706004' : "produits:services:hosting",
- '706005' : "produits:services:transit",
- '7060050' : "produits:services:transit:bp-0",
- '7060051' : "produits:services:transit:bp-a",
- '7060052' : "produits:services:transit:bp-b",
- '7060053' : "produits:services:transit:bp-c",
- '7060054' : "produits:services:transit:bp-d",
- '756' : "produits:cotisations",
- '77' : "produits:exceptionnels",
- '7718' : "produits:exceptionnels:dons manuels",
- }
- PC_DESCRIPTIONS = {
- '41' : 'Clients et comptes rattachés',
- '5121': 'CC Crédit Mutuel',
- '5122': 'Compte GIE',
- }
|