Fix: Basic funcionality structure

This commit is contained in:
sinergia 2024-06-19 16:50:11 -05:00
parent d18cef15f5
commit 9d591237ec
8 changed files with 269 additions and 0 deletions

34
.env_exmple Normal file
View File

@ -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 <email@example.com>"
SMTP_EMAIL=email@example.org

221
gitignore Normal file
View File

@ -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

1
modules/account_co_co Submodule

@ -0,0 +1 @@
Subproject commit a13049d224b7a0ec4481bc45c855fd84b3356af2

@ -0,0 +1 @@
Subproject commit e969585cacfcf30d6b63cb755073263b363c2cf2

@ -0,0 +1 @@
Subproject commit 90865e43ea61c9766eb4995984b27ccf0bd3fbfc

@ -0,0 +1 @@
Subproject commit 0ca3720bdac118944fbc01a25eb396b1d2666ae0

@ -0,0 +1 @@
Subproject commit cda31d13f5a840b76bf6f9fb4ec7dcd20c361964

9
sets/modules.txt Normal file
View File

@ -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