Commit Graph
57822 Commits
Author SHA1 Message Date
Dani Möller aa96c33cbc Rewrite worker with concurrent.futures instead of multiprocessing
Unlike multiprocessing pools, the concurrent library pools will raise an
exception if child processes have died and can't accept further tasks. This
should cause the main worker to stop instead of stalling in an inifinite wait.

Introduce a dummy noop execution in the pool to probe if it is still operative
to mitigate the volume of lost tasks if the next submited execution would raise
a BrokenExecutor exception. This isn't 100% bulletproof because the pool might
still break between the probe and a new task being pulled.

The maxtasksperchild CLI option will only work for Python 3.11 onwards because
former concurrent.futures pools do not support this option.

Closes #11104
2024-02-04 20:32:09 +01:00
Cédric Krier bfbab59ebf Use usage from context for default contact mechanism on party 2024-01-04 18:48:14 +01:00
Cédric Krier 5181591ed7 Use template substitution for company header/footer
Closes #12699
2024-01-04 18:55:06 +01:00
Cédric Krier 1e0a1d648c Use latest link to document incoming OCR Typless documentation 2023-12-27 11:36:03 +01:00
Cédric Krier 7981f19cc8 Support second currency on statement line
Closes #12673
2023-10-30 17:37:54 +01:00
Cédric Krier 94a51aaa64 Invert sign of amount in second currency to reconcile statement line with invoice
When using the company currency, the amount used is credit - debit which is in
the opposite sign of amount in second currency.

Closes #12688
2023-10-30 17:44:35 +01:00
Sergi Almacellas Abellana 53304ebfd0 Fix typo in lot unit help text 2024-01-30 15:53:42 +01:00
Sergi Almacellas Abellana 79af25cee7 Fix typo in purchase change unit of measure error message 2024-01-30 15:51:16 +01:00
Cédric Krier 9900a62c95 Set default lead time for product to 0
It is assumed that most business will try to deliver customer as fast as
possible.

Closes #12728
2023-12-23 19:27:01 +01:00
Cédric Krier 5288fca2c5 Use csv reader to paste clipboard content in tree view 2023-12-22 14:28:24 +01:00
Cédric Krier 32cfd57d27 Add contextual menu to copy cell and column
Closes #12824
2023-12-22 14:48:01 +01:00
Cédric Krier 4a58965be5 Rename menu entry for copy/paste rows 2023-12-22 14:08:37 +01:00
Cédric Krier 4a0a6faea6 Manage assignation for customer shipment with same picking and output location
Closes #12815
2023-12-21 15:01:14 +01:00
Cédric Krier c6f095c760 Do not copy readonly relational fields
Closes #12849
2023-12-20 13:56:57 +01:00
Cédric Krier 04778f67de Allow user-select on cell except from menu
Closes #12824
2023-12-12 18:37:24 +01:00
Cédric Krier 160fae1b79 Disable user-select everywhere
user-select is now a standard.
2023-12-12 18:36:58 +01:00
Cédric Krier 3e3c047ca1 Define explicitly escape char used for like operators
For now we rely on the default value set by python-sql but SQL-92 does not
define a default value.

Closes #12933
2024-01-14 13:32:27 +01:00
Cédric Krier c67a5fd5e1 Use only debit and credit sign to compute payment kind of move line
Closes #12932
2024-01-13 18:53:13 +01:00
Cédric Krier 10505dd484 Remove duplicate subdivision in Australia address format
Closes #12928
2024-01-13 14:00:06 +01:00
Cédric Krier eb450247ee Consider null value as data for binary field
null value is set when the widget is cleared so it should not try to read it
again from the server.

Closes #12926
2024-01-11 16:30:10 +01:00
Cédric Krier 970f40f3be Use internal shipment location to compute warehouse of transit stock move
When the location is the transit location, the warehouse to be used is the
warehouse of the corresponding location on the internal shipment.

Closes #12746
2024-01-11 17:09:50 +01:00
Cédric Krier ee89b4cfac Use dedicated warehouse properties for cost
#12746
2024-01-11 18:30:01 +01:00
Cédric Krier 3e40277da9 Activate scrollbar on text and richtext widget and limit resize to vertical
The minimal height is set to 5 lines and maximal to 20 lines.

Closes #12921
2024-01-10 19:07:03 +01:00
Cédric Krier d18d5fb061 Reduce tox verbosity 2024-01-16 18:17:27 +01:00
Cédric Krier 69bdce8b29 Use include directive for subdirectory documentation
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier 10a8207581 Include database name in reset password request from tryton 2024-01-27 18:41:40 +01:00
Cédric Krier cdbeaa70ba Do not check link to ups.com
UPS blocks the automate test so we have to ignore them.
2024-01-01 13:45:14 +01:00
Cédric Krier 40b8cf0eca Support linkcheck ignore per module documentation
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +01:00
Cédric Krier ef49ce3774 Update documentation link to Shopify custom app
The anchor was removed on the website.
2024-01-01 13:40:00 +01:00
Cédric Krier 413048c312 Add template filters after being cached
The MemoryCache copy the stored template since 7bbbb91621ab but Genshi
Template clear the filters when copied.

Closes #12963
2024-01-28 00:34:12 +01:00
Cédric Krier e5a6aba9bb Support list of single value in sortable_values tools 2024-01-15 20:31:33 +01:00
Cédric Krier e409547408 Sort sale lines without shipping_date at the end when computing stock quantity
Closes #12938
2024-01-15 20:30:34 +01:00
Adrià Tarroja Caubet 0d71ab5440 Check purchase amount is not None on compute production cost
Closes #12946
2024-01-18 10:38:07 +01:00
Cédric Krier 8dc2186c94 Update documentation of web user 2023-11-08 10:55:53 +01:00
Cédric Krier 7fab261d1c Clear reset password when setting a new password 2023-12-27 17:50:15 +01:00
Cédric Krier 28434749db Allow resetting forgotten password
Closes #10629
2023-11-07 18:08:43 +01:00
Cédric Krier e6736aaed7 Allow resetting password of user via RPC
Closes #10629
2023-11-07 16:52:06 +01:00
Cédric Krier 6702732826 Explain no changes have been made on web user reset password email 2023-11-07 16:53:41 +01:00
Cédric Krier 013a47d35f Do not remove existing password when reset password 2023-11-07 16:52:31 +01:00
Cédric Krier e193722acb Convert reset_password method into dualmethod 2023-10-20 14:49:37 +02:00
Cédric Krier d09a438f76 Update documentation of marketing automation 2023-12-23 18:03:06 +01:00
Cédric Krier b919e5c828 Add trend spark lines to marketing automation scenario and activity 2023-11-07 00:21:00 +01:00
Cédric Krier a543d94a28 Add reporting on scenario and activity per period 2023-10-17 17:10:44 +02:00
Cédric Krier e8306b14de Require a date time for record activity of marketing automation 2023-10-17 13:07:44 +02:00
Cédric Krier f671cb8532 Display block rate instead of absolute value
The rate provides a better picture of the unsubscription of the marketing
scenario.
2023-10-17 18:42:41 +02:00
Cédric Krier 42b5ba1377 Display email rates instead of absolute value
The rates provide a better picture of the efficiency of the marketing
scenario.
2023-10-16 16:25:48 +02:00
Cédric Krier ec6ce50423 Always return an integer when counting records for marketing scenario and activities 2023-10-18 17:30:43 +02:00
Nicolas Évrard a12ce3cdc2 Apply overflow value to every parent group of node
Closes #12960
2024-01-26 12:40:14 +01:00
Sergi Almacellas Abellana 4c21901493 Do not fail when accessing sales or purchases attributes for UN/CEFACT Invoice
Closes #12873
2024-01-27 10:21:19 +01:00
Cédric Krier be1aac4fac Support cached_property on object with __slots__
Closes #12894
2024-01-05 01:36:50 +01:00