Commit Graph
59201 Commits
Author SHA1 Message Date
Cédric Krier 114c7d8fa6 Do not fail to limit city size for UPS shipping when it is empty
Closes #13874
2025-02-15 18:11:00 +01:00
Cédric Krier d78d99cb94 Prohibit calling convert_order on Function field
Closes #13872
2025-02-15 01:15:07 +01:00
Cédric Krier 5b39e5aad4 Fix typo in size_limits of ModelStorage.write
fd45274f2455 use a set as size_limits but it must be a dictionary.
2025-02-26 00:56:24 +01:00
Cédric Krier 58a8663a8b Remove fallback password hash checks
The fallback was added by cc5aba3b12c7 for password hash stored before 5.0.
2024-12-01 14:31:18 +01:00
Cédric Krier cac922b6ca Replace passlib by pwdlib
Closes #12936
2024-12-01 14:25:26 +01:00
Cédric Krier 9cb5d6d83a Raise HTTP exception when RPC convert request argument 2024-11-28 10:23:37 +01:00
Cédric Krier 611198f9f1 Add size limit for RPC arguments
Closes #10301
2024-11-28 09:31:43 +01:00
Cédric Krier 65d3f86149 Store the ignore search limit option of export
Closes #13601
2024-12-12 23:16:41 +01:00
Maxime Richez 76cdf889a2 Test actual quantity against None for processed quantity in Blanket Agreement
Closes #13865
2025-02-11 13:32:57 +01:00
Cédric Krier 96de1ae302 Make save call synchronous
This avoid to trigger multiple save in parallel which may raise a concurrency
exception.

Closes #13848
2025-01-30 10:12:49 +01:00
Adrià Tarroja Caubet d7ccb1b604 Strip accents for company name on report AEAT303
Closes #13858
2025-02-03 11:35:14 +01:00
Cédric Krier 2efc39346c Do not try to delete XML data without id
If the record has already been cleaned, there is no need to try to delete again.
2025-02-10 01:39:24 +01:00
Cédric Krier 11bac062f7 Update gettext.js dependency to version 2 2025-01-13 19:05:35 +01:00
Cédric Krier c91542adfb Do not retrieve current transaction to fetch model attribute
It is the transaction stored on the instance that must be used and which is set
by the context manager.
2025-01-21 18:43:23 +01:00
Cédric Krier 8072751d7f Do not load validated fields
If the field is not loaded, there is no need to validate it.
2024-12-28 18:50:04 +01:00
Cédric Krier 2be18d249e Do not validate record on reload
sao does not validate so tryton should not need neither.
2024-12-28 18:28:01 +01:00
Cédric Krier 8da6e82a15 Fix checkbox and radio alignment
By restoring from the original Bootswatch theme and correctly construct the
checkbox class from Bootstrap.

Closes #13643
2025-02-08 21:14:00 +01:00
Cédric Krier 237f9b754a Use proper default type for Eval in domain of Spanish tax reporting 2025-02-03 14:49:45 +01:00
Cédric Krier f773bc17d0 Display metric option to UPS credential form
Closes #13856
2025-02-03 01:02:20 +01:00
Cédric Krier b50c4e1e50 Remove deactivable from carrier selection
Closes #13854
2025-02-01 02:03:24 +01:00
Maxime Richez a2140b86a2 Consider packages as closed also when shipment state is shipped
Since 11be7a89b81d customer shipments have a shipped state.

Closes #13850
2025-02-16 01:19:46 +01:00
Cédric Krier 18bae90225 Update the URL when creating new record
When record saved is new, the URL must be updated just like if the view was
switched.

Closes #13849
2025-01-30 12:25:14 +01:00
Cédric Krier 7a4182ad6a Do not fail to translate model field that does not exist 2025-01-29 23:23:22 +01:00
Cédric Krier a878b8055d Improve form view of model field 2025-01-29 23:22:18 +01:00
Cédric Krier 8915b6f61e Set access as readonly on model field when module is set 2025-01-29 23:20:40 +01:00
Cédric Krier 715a1a0b32 Set readonly states for foreign many2one on model field based on module
Closes #13565
2025-01-29 23:20:07 +01:00
Cédric Krier 60cd69732f Try to reconcile only valid account move line
Closes #13847
2025-01-29 18:20:46 +01:00
Cédric Krier d6764027f1 Do not validate empty email in trytond-admin command
Closes #13837
2025-01-26 00:47:27 +01:00
Cédric Krier 8770a0183f Render one AdrLine per street line in SEPA messages
Closes #13834
2025-01-25 01:00:09 +01:00
Cédric Krier a3e5faac0c Add company and warehouse to supplier return form
Closes #13857
2025-02-03 01:05:24 +01:00
Cédric Krier 1a9213b51c Make text and richtext fill vertically
Closes #13835
2025-01-25 01:10:41 +01:00
Cédric Krier 9bf2d8e919 Use current account at the clearing date for clearing move of payment
Closes #13826
2025-01-20 17:26:52 +01:00
Cédric Krier 349f5328d3 Use payable or receivable account as fallback to create clearing move of payment
A payment, made on a journal with clearing setup, must always create a clearing
move even if no account or line are set.

Closes #13825
2025-01-20 17:25:25 +01:00
Cédric Krier 743f622a31 Link invoice lines and stock moves for different quantity sign if invoice method is not shipment
Closes #13821
2025-01-16 17:38:14 +01:00
Cédric Krier 8027e3842f Use saved tree state to restore selected record on form view
Closes #13822
2025-01-16 16:10:10 +01:00
Cédric Krier 827984a839 Store on the screen only the tree states of the current view
Otherwise it is only the tree states of the last view that is restored.

Closes #13822
2025-01-16 16:07:36 +01:00
Cédric Krier 2ccd9dec09 Include translation fuzzy in cache key of translated message
Closes #13805
2025-01-12 01:47:50 +01:00
Cédric Krier 7ba10bb365 Remove min-width for input of type file of Binary widget
The input file must stay inside the button.

Closes #13810
2025-01-09 22:54:41 +01:00
Cédric Krier 0c2c60ad9a Use boolean value when toggling input select of binary widget
jQuery requires a boolean type to toggle display.

Closes #13809
2025-01-09 22:50:26 +01:00
Cédric Krier 709bebe701 Use base URL as logo link and include homepage in TOC
This way the navigation in the documentation is unified.
2025-02-09 15:19:19 +01:00
Cédric Krier c2e8d187d1 Do not fail to clean when help selection is None
Closes #13862
2025-02-09 19:51:04 +01:00
Cédric Krier 504f3013cc Disable counting in super search call of ResourceAccessMixin only when enforcing access
The search method must always return an integer when count is True.

Closes #13846
2025-01-29 11:45:42 +01:00
Cédric Krier 2337e61b71 Skip empty filename as configuration file 2025-02-08 14:35:59 +01:00
Hartmut Goebel d009490e4e Make empty environment variable TRYTOND_LOGGING_LEVEL be treated as unset 2025-02-08 14:40:10 +01:00
Hartmut Goebel 76e335d894 Make empty environment variable TRYTOND_TZ be treated as unset 2024-01-20 22:51:08 +01:00
Hartmut Goebel 5a7f24617c Make empty environment variable TRYTOND_DATABASE_URI be treated as unset 2024-01-20 22:27:07 +01:00
Hartmut Goebel 6073e22d5c Make empty environment variable DB_NAME treated as unset
Closes #12364
2025-02-08 14:08:23 +01:00
Cédric Krier af67ddf8b9 Add stock measurements on internal shipment 2024-12-20 20:19:21 +01:00
Cédric Krier 2398473cae Ease customization of column and value for MeasurementsMixin 2024-12-20 17:57:17 +01:00
Cédric Krier 54c124cec8 Store internal transit location when internal shipment is set to wait
This supports changing the configuration of the transit location over time
without breaking existing shipments.
2025-02-08 12:45:40 +01:00