From 9d591237ec5d74687ec142c834b9b094dd6df8b1 Mon Sep 17 00:00:00 2001 From: sinergia Date: Wed, 19 Jun 2024 16:50:11 -0500 Subject: [PATCH] Fix: Basic funcionality structure --- .env_exmple | 34 +++++ gitignore | 221 ++++++++++++++++++++++++++++++++ modules/account_co_co | 1 + modules/account_co_pyme | 1 + modules/account_co_reports | 1 + modules/account_invoice_facho | 1 + modules/account_invoice_subtype | 1 + sets/modules.txt | 9 ++ 8 files changed, 269 insertions(+) create mode 100644 .env_exmple create mode 100644 gitignore create mode 160000 modules/account_co_co create mode 160000 modules/account_co_pyme create mode 160000 modules/account_co_reports create mode 160000 modules/account_invoice_facho create mode 160000 modules/account_invoice_subtype create mode 100644 sets/modules.txt diff --git a/.env_exmple b/.env_exmple new file mode 100644 index 0000000..b0be89d --- /dev/null +++ b/.env_exmple @@ -0,0 +1,34 @@ +# version Trytond server example 6.0 +TRYTOND_VERSION=7.0 +TRYTON_ADMIN_PASS=admin +TRYTON_ADMIN_EMAIL=admin@admin.com + +# TRYTOND operation mode +TRYTON_PORT=8000 +DEVELOP=True +WORKER=False + +# if the module repository is private +GITEA_USER=USER +GITEA_PASSWORD=PASSWORD +GITEA_ACCESS_TOKEN=TOKEN +GITEA_DOMAIN=git.domain.org + +# Choise a valid file seed from into folder ./sets +SET=./sets/modules.txt + +# Database configuration +DB_PASSWORD=SUp3r-pass*DB +POSTGRES_DB=tryton +DB_HOSTNAME=db +POSTGRES_PASSWORD=SUp3r-pass*DB + +#SMTP This value is True or False +SMTP=False +SMTP_TYPE=smtps+ssl +SMTP_USER=email@example.com +SMTP_PASSWORD=PASSWORD +SMTP_DOMAIN=mail.example.org +SMTP_PORT=465 +SMTP_FROM="NAME_FROM " +SMTP_EMAIL=email@example.org diff --git a/gitignore b/gitignore new file mode 100644 index 0000000..1a41cbe --- /dev/null +++ b/gitignore @@ -0,0 +1,221 @@ +# ---> Python +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class +*.bk + +# C extensions +*.so + +# Deploy Modules +modules/ + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# ---> Emacs +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile + +# directory configuration +.dir-locals.el + +# network security +/network-security.data + + +# ---> Vim +# Swap +[._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files +[._]*.sw[a-p] +[._]s[a-rt-v][a-z] +[._]ss[a-gi-z] +[._]sw[a-p] + +# Session +Session.vim +Sessionx.vim + +# Temporary +.netrwhist +*~ +# Auto-generated tag files +tags +# Persistent undo +[._]*.un~ + +# ---> VirtualEnv +# Virtualenv +# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/ +.Python +[Bb]in +[Ii]nclude +[Ll]ib +[Ll]ib64 +[Ll]ocal +[Ss]cripts +pyvenv.cfg +.venv +pip-selfcheck.json + diff --git a/modules/account_co_co b/modules/account_co_co new file mode 160000 index 0000000..a13049d --- /dev/null +++ b/modules/account_co_co @@ -0,0 +1 @@ +Subproject commit a13049d224b7a0ec4481bc45c855fd84b3356af2 diff --git a/modules/account_co_pyme b/modules/account_co_pyme new file mode 160000 index 0000000..e969585 --- /dev/null +++ b/modules/account_co_pyme @@ -0,0 +1 @@ +Subproject commit e969585cacfcf30d6b63cb755073263b363c2cf2 diff --git a/modules/account_co_reports b/modules/account_co_reports new file mode 160000 index 0000000..90865e4 --- /dev/null +++ b/modules/account_co_reports @@ -0,0 +1 @@ +Subproject commit 90865e43ea61c9766eb4995984b27ccf0bd3fbfc diff --git a/modules/account_invoice_facho b/modules/account_invoice_facho new file mode 160000 index 0000000..0ca3720 --- /dev/null +++ b/modules/account_invoice_facho @@ -0,0 +1 @@ +Subproject commit 0ca3720bdac118944fbc01a25eb396b1d2666ae0 diff --git a/modules/account_invoice_subtype b/modules/account_invoice_subtype new file mode 160000 index 0000000..cda31d1 --- /dev/null +++ b/modules/account_invoice_subtype @@ -0,0 +1 @@ +Subproject commit cda31d13f5a840b76bf6f9fb4ec7dcd20c361964 diff --git a/sets/modules.txt b/sets/modules.txt new file mode 100644 index 0000000..a953563 --- /dev/null +++ b/sets/modules.txt @@ -0,0 +1,9 @@ +account_co_co +account_co_pyme +account_co_reports +account_invoice_facho +account_invoice_subtype +account_stock_continental +purchase +sale +notification_email