Cédric Krier e2645f26c9 Use file from the Binary field to display document
On Windows the file used to create the Evince document must be kept after the
initialization.
Also reusing the file cache mechanism of the Binary field, prevents to create
temporary files on each call of display.
Evince document needs to have the proper extension to be sure to load the
proper backend. So the cache file must be retrieved with the requested
extension.
And finally we use Document.factory_get_document_full so if leading with the
filename extension does not work, it will try to guess from the data.

Closes #13307
(grafted from 34deeaf3c0215f793c3e673de3ee2e04971ebee4)

--HG--
branch : 7.0
2024-06-07 20:42:40 +02:00
2024-02-18 18:35:54 +01:00
2024-02-18 18:35:54 +01:00
2024-02-18 18:35:54 +01:00
2024-02-18 18:35:54 +01:00
2024-02-18 18:35:54 +01:00
2023-01-11 19:01:37 +01:00
2024-02-18 18:35:54 +01:00
2024-05-03 00:25:48 +02:00
2022-12-16 23:16:08 +01:00
2024-06-15 11:13:04 +02:00
2023-03-15 16:33:19 +01:00
2023-06-09 09:28:59 +02: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

   .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

On ``hg update``, the first hook will automatically create symlinks for modules
and the second hook will automatically generate requirements files.

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%