Cédric Krier ad81e44df6 Set all attributes of transaction before connecting to the database
The connection to the database may fail and thus stop and rollback may be
called. All the attributes must be set to avoid to raise another AttributeError
exception.

Closes #15022
(grafted from 654923a8085d4804dd217e487c80085c53eb470b)

--HG--
branch : 8.0
2026-08-17 17:32:55 +02:00
2026-04-07 17:40:41 +02:00
2026-05-02 14:06:27 +02:00
2026-08-15 08:47:00 +02:00
2024-01-14 19:21:56 +01:00
2026-04-07 17:40:41 +02:00
2026-08-15 09:07:12 +02:00
2023-03-15 16:33:19 +01:00

######
Tryton
######

Tryton is business software, ideal for companies of any size, easy to use,
complete and 100% Open Source.

This repository contains the source for all the packages of Tryton.

Setup
=====

It is recommended to isolate the development within a Python `virtual
environment <https://docs.python.org/tutorial/venv.html>`_.

From the root directory of the repository run:

.. code-block:: console

   pip install packaging build
   .hooks/update_requirements
   .hooks/link_modules

.. warning::

   The process of updating requirements files may take some time.

Install the dependencies with:

.. code-block:: console

   pip install -e trytond -e tryton -e proteus -r requirements.txt -r requirements-dev.txt

Automate
========

To automate the process, add the following lines to the ``[hooks]`` section of
the ``.hg/hgrc``:

.. code-block:: ini

   [hooks]
   update.modules = .hooks/link_modules
   update.requirements = .hooks/update_requirements
   update.trytond = trytond/hatch_build.py
   update.tryton = tryton/hatch_build.py

On ``hg update``, the first hook will automatically create symlinks for
modules, the second hook will automatically generate requirements files, the
third generate the ``RNG`` files for ``trytond`` and the last compile the
translation files for ``tryton``.

Submit Change
=============

For information about how to submit change, please read on and follow the
`guidelines <https://www.tryton.org/develop>`_.
S
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
Readme
389 MiB
Languages
Python 88.1%
JavaScript 11%
Less 0.5%
HTML 0.2%
NSIS 0.1%