Commit Graph
58171 Commits
Author SHA1 Message Date
Adrià Tarroja Caubet d590139f93 Update TinyMCE to version 7
Closes #8683
2024-05-07 00:29:45 +02:00
Cédric Krier af50a2fd64 Insert new modules in ir_module table before registration
The ir.model* Models have foreign key constraint for the module column.

Closes #13244
2024-05-10 23:45:00 +02:00
Cédric Krier 76190b9e9d Remove NOT NULL from create_uid and create_date in PostgreSQL init SQL
Those fields are not required.
2024-05-10 23:23:13 +02:00
Cédric Krier 2bc7969652 Fallback to the default language if it does not exist for product data feed
This avoid to fill the cache with unsupported languages.
2024-04-16 18:33:38 +02:00
Cédric Krier cccdc1f1f7 Add scheduled task to update cached feeds
On large data set, generating the feed may take too long for an HTTP request.
So in this case user may want to update the cache with a scheduled task so the
requests are always answered directly using the cache.
2024-04-16 18:43:37 +02:00
Cédric Krier 215834f78f Add code to production BOM 2024-05-14 08:58:04 +02:00
Cédric Krier c1f3ddcd10 Unify logging message of bus 2024-05-09 17:01:28 +02:00
Cédric Krier a5fcf23ad0 Save images with 300 dpi
Closes #13206
2024-04-20 12:29:34 +02:00
Cédric Krier cd41ab4c5e Always convert image to RGB format
Closes #13206
2024-04-20 12:26:21 +02:00
Cédric Krier 3800523d11 Move language field to the party header form 2024-05-09 12:07:48 +02:00
Cédric Krier dea9cea516 Add description for image
Closes #13226
2024-04-30 12:58:04 +02:00
Nicolas Évrard d3e9f3ac5f Use read to fetch reverse field value of x2M field in field get
This avoid to create instances for origin or target just to get their id.

Closes #13245
2024-05-25 12:59:45 +02:00
Nicolas Évrard 56d580ae5b Optimize instance creation in ModelStorage.__getattr__
The kwargs and pysoned context are put in a cache to avoid rebuild them for
each similar instance.

Closes #13245
2024-05-25 12:50:02 +02:00
Nicolas Évrard 4df7a36de3 Set the language when parsing XML files 2024-04-22 10:42:28 +02:00
Nicolas Évrard 370e2f3b41 Use English when fetching records from the database
Closes #13204
2024-04-18 19:00:34 +02:00
Nicolas Évrard 907bcafd64 Fix typo in the name of the filesystem caching class of the XML parser 2024-04-19 15:40:23 +02:00
Cédric Krier 8e9d6712c9 Use sales field to relate from sale to invoices 2024-05-02 18:47:41 +02:00
Cédric Krier 97796eacd1 Use purchases field to relate from purchase to invoices 2024-05-02 18:47:16 +02:00
Cédric Krier 5b9cc03243 Add python-format flag to PO files 2024-05-01 19:13:04 +02:00
Cédric Krier ed5f91a480 Forbid payment of zero amount
Closes #13031
2024-05-05 10:06:07 +02:00
Cédric Krier 196cfbeb0c Do the marketing record activity in the queue
This avoid to block the cron for a long period if there is a lot of record
activities to process.
In case of failure the record activities will be retried. And in case of long
delay in the queue, the record activities will not be processed twice thanks
to the transition filter of the workflow and the lock when updating state
field.

Closes #13146
2024-03-30 12:03:30 +01:00
Cédric Krier 5035063b35 Check validity of description of move template 2024-05-10 16:06:31 +02:00
Cédric Krier ecd252e48b Raise user error when description of move template can not be formatted
Closes #13240
2024-05-10 16:05:33 +02:00
Cédric Krier 06270e6a7a Use decimal 0 without digits as default value
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.

Closes #13197
2024-04-30 19:15:44 +02:00
Cédric Krier 5bc94899c7 Fill tax rule pattern of web shop with countries
When account_tax_rule_country is activated, the pattern must be filled with
from_country and to_country to compute the right tax.

Closes #13223
2024-04-29 18:08:39 +02:00
Cédric Krier f4f0102d20 Do not convert sale unit price to sale unit of measure if empty
Closes #13213
2024-05-10 15:17:37 +02:00
Nicolas Évrard 5d2e5f9329 Use the catch_warnings context manager when importing relatorio
Using warnings.resetwarnings also reset the warnings filter set from the
environment variable which makes working on fixing warnings more difficult.
2024-05-16 21:19:17 +02:00
Cédric Krier 1035df5340 Test if cache amount is null to include tax amount when searching for amount
Closes #13219
2024-04-28 17:30:17 +02:00
Cédric Krier 306f84c9d2 Clear company on the lot sequence in production scenario
Since 9191fe4b4da4, the sequence can not be restricted to a company.

Closes #13257
2024-05-14 08:56:28 +02:00
Cédric Krier 0442c7475b Update reports to display company logo 2024-04-19 23:30:05 +02:00
Cédric Krier 254370278a Add logo of companies
Closes #13205
2024-04-29 14:38:36 +02:00
Cédric Krier e23c126c90 Cache http-v2 pip directory
Since pip 23.3 the HTTP requests are cached in a new directory.
2024-05-03 00:25:48 +02:00
Cédric Krier 4a6e8e5823 Set PIP_CACHE_DIR for job using pip 2024-05-03 00:19:28 +02:00
Hulala 1f74c18430 Close client tab with mouse middle click 2024-05-11 11:19:38 +02:00
Cédric Krier cfc0cba290 Prevent to use sequence limited to company for stock lot
The lots are not linked to a company, neither the product so their sequences
should not to avoid access right errors.

Closes #13209
2024-04-24 00:05:10 +02:00
Cédric Krier fbc0d82d6a Support language suffix in CSV import
Closes #13141
2024-04-11 12:41:05 +02:00
Cédric Krier 891423c6b2 Set default value from account move using line field name
Some Function fields has the move as prefix which is removed when applied to
the move. But when setting default value for the line, the move prefix must
not be removed.

Closes #12967
2024-04-27 18:36:49 +02:00
Cédric Krier f94f539158 Fix changelog of purchase request module 2024-04-30 01:47:22 +02:00
Cédric Krier 52d2b788d6 Use model reference of field to get model name for HTML editor
Since 8680316c6805 the model field stores only the string name of the model,
the foreign many2one must be used instead.

Closes #13239
2024-05-07 00:35:29 +02:00
Cédric Krier 9e6789f8c1 Ensure there is a company id in the context before testing as positive
Closes #13228
2024-05-02 18:55:04 +02:00
Cédric Krier 3b7fb6adca Remove default value for unknown request_quotations field
Closes #13212
2024-04-30 18:29:24 +02:00
Cédric Krier f859c8941d Rename quality inspect wizard from Done to Completion
Following 64726d495038
2024-04-16 23:48:13 +02:00
Cédric Krier c561ffc298 Unify logging message of modules 2024-04-13 10:52:08 +02:00
Cédric Krier 2eaf20a461 Add shipped state to customer shipment
Closes #13150
2024-05-06 00:34:03 +02:00
Cédric Krier 6f40ac5659 Add partial support for constraints with SQLite backend
The Unique and Exclude constraints can be enforced on SQLite backend with
UNIQUE INDEX as long as they do not use parameters.
2024-04-02 00:29:35 +02:00
Sergi Almacellas Abellana ea01ba7d47 Add missing gettext to sao forgotten password button
Otherwise the text can not be traanslated
2024-04-18 17:54:52 +02:00
Cédric Krier c80310c2dc Add warning when changing credentials
Closes #13126
2024-03-25 14:24:55 +01:00
Juan Jose Pablos 981580a19c Add labels in configuration documentation of trytond 2024-05-04 12:37:32 +02:00
Cédric Krier cd8777277a Update translations [skip ci]
Closes #13225
2024-04-30 13:09:39 +02:00
Adrià Tarroja Caubet 0506c86e8c Add space after quote in message for no open fiscal year date 2024-04-30 09:44:04 +02:00