Commit Graph
57835 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana f834a5e940 Fill fiscal year when changing company of GL and Income statement context
Closes #11208
2024-01-27 10:59:59 +01:00
Cédric Krier 7f0c8c6705 Improve documentation about escaping wildcards 2024-01-30 12:46:35 +01:00
Cédric Krier 45ab83cba5 Return new instances of PYSON object from PYSON shortcut methods
Closes #12985
2024-02-03 19:29:59 +01:00
Cédric Krier 276c2e6338 Do not insert contact mechanism between recipients hidden fields
Since e356d97a0f59 there are two recipients hidden fields in the email
template view.

Closes #12981
2024-02-01 12:10:59 +01:00
Cédric Krier d48292e786 Start editing only if clicked row is already the current row
Closes #12971
2024-01-29 23:18:40 +01:00
Cédric Krier e9089e17b0 Toggle a single instance of help dialog when pressing F1
Closes #12970
2024-01-29 20:33:22 +01:00
Cédric Krier 9cc7de53e6 Compare original functions to compute access of table query models
The bound methods are different because they are bounded to different classes.

Closes #12965
2024-01-29 11:35:16 +01:00
Cédric Krier 12bda46e38 Ignore bnr.ro when checking documentation link
Closes #12979
2024-02-01 09:47:57 +01:00
Cédric Krier 122dd1aa57 Apply access rights only on resource record linked to an instance
Closes #12977
2024-01-30 17:09:22 +01:00
Cédric Krier 20fff88603 Add support for timestamp field as datetime in domain parser
Closes #12776
2024-01-30 12:07:21 +01:00
Cédric Krier a8ee857681 Compute name of the product for stock move
So we can customize the product name to use the customer or supplier name.

Closes #12893
2024-01-04 23:54:49 +01:00
Cédric Krier b4608428fb Compute name of the product for sale, purchase and invoice lines
Instead of having the code in the report templates, we use a property that can
be extended without updating the template.

Closes #12892
2024-01-04 23:55:09 +01:00
Dani Möller bd54284d6f Use processing pool and selector as context managers
Delegate closing both resources to the with instruction.
2024-02-04 19:45:59 +01:00
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