Commit Graph
60598 Commits
Author SHA1 Message Date
Cédric Krier d0f7906ef6 Update the version of Stripe used 2026-06-02 14:39:18 +02:00
Cédric Krier cb1a298a4f Make display synchronous when possible
In order to ensure that after the focus out of a field that triggers
on_change's, the view is fully displayed before the set_value call from the
Window.Form response. Otherwise the set_value restore the previous value.

Closes #14853
2026-05-20 18:50:58 +02:00
Cédric Krier 25d1b72c64 Store column optional per occurrence
Closes #14832
2026-05-13 15:08:23 +02:00
Cédric Krier c92f64c1d6 Use join to calculate account party of general ledger line 2026-05-11 16:01:30 +02:00
Cédric Krier ddc9186416 Print general ledger lines per party for account with party required
Closes #14828
2026-05-11 15:51:51 +02:00
Cédric Krier 9d33e837fe Order the lines of the general ledger account
They must use the same order as the order used to calculate the cumulative
balance.

Closes #14829
2026-05-11 15:50:41 +02:00
Adrià Tarroja Caubet 23a96d751d Use current record context when rendering email templates
Pass the current record context from the email dialog when fetching
template values and defaults. This keeps context-dependent models,
including table_query records, addressable after the user changes the
context.

Closes #14565
2026-06-06 11:47:25 +02:00
Cédric Krier 01b76919e4 Remove padding for item in notification menu 2026-05-21 11:05:51 +02:00
Cédric Krier 1b130740a5 Always use the body background for notification menu
On small screen the menu inherits of the navbar background which reduces the
contrast with the item of the menu.

Closes #14855
2026-05-21 11:05:05 +02:00
Cédric Krier 25ffdbff7b Use defauldict for XML ID getter instead of construct a complete dict 2026-04-24 23:02:57 +02:00
Cédric Krier 0acec62e0b Use ids from BrowseList instance instead of construct a new list 2026-04-24 23:01:55 +02:00
Cédric Krier 0dae022a06 Add BrowseList for Model instances
Closes #14808
2026-04-24 23:21:41 +02:00
Cédric Krier 60d63197fe Do not display commission price on stock move if not set
Like the cost fields we should display it only if it is set.
2026-06-03 18:24:08 +02:00
Cédric Krier 7f42e0a3d7 Remove cost separator in stock move form
The cost fields are not always visible so the separator may be displayed when
no cost fields is.
Each cost field has its own invisible statement so it will be much complex to
build on for the separator than removing it.
2026-06-03 18:23:31 +02:00
Cédric Krier 9d032e7a48 Use defaultdict as result of get method of Field
This prevents loop to fill the result with default value.
2026-04-23 19:04:43 +02:00
Cédric Krier b99e3b455e Do not include _timestamp, _datetime nor __id in searched columns
Since 815a0a887c3e the history filtering is done using SQL query so these
columns are no more needed in the search result.
2026-04-23 00:56:02 +02:00
Cédric Krier 572bd146af Do not prefetch columns when searching for RPC
Closes #14802
2026-06-05 10:10:01 +02:00
Cédric Krier 5f56aa0769 Add row factory to cursor
Closes #14797
2026-06-04 23:41:21 +02:00
Cédric Krier 8d8a5ffa14 Move invoice payment methods entry under invoice payments menu 2026-06-04 23:07:09 +02:00
Sergi Almacellas Abellana c9987650b9 Use only 3 cols for plural field on lang form
Closes #14873
2026-06-03 12:48:36 +02:00
Cédric Krier ff711ce37d Use percentage of viewport height as maximal height for treeview and list-form
Closes #14840
2026-05-18 17:38:04 +02:00
Cédric Krier 00c5c5ee76 Grow vertically the tab content 2026-05-18 17:35:59 +02:00
Cédric Krier a27b05e3b9 Move warehouse and shipping date of sale to other page 2026-05-18 17:23:47 +02:00
Cédric Krier f97801a3e7 Use product or template record name as record name for product image 2026-05-07 13:31:21 +02:00
Cédric Krier b496b4abf1 Set filename extension to jpg for product image
Closes #13334
2026-05-07 13:30:46 +02:00
Cédric Krier 5a493891da Set filename extension to jpg for avatar 2026-05-07 13:29:48 +02:00
Cédric Krier 8af098bd17 Add filename extension to Binary field 2026-05-07 13:29:24 +02:00
Cédric Krier af8c446a5b Use record name as fallback for filename of Binary field 2026-05-07 13:28:19 +02:00
Cédric Krier 792602c230 Add filters attribute for binary and image widgets
Closes #14822
2026-05-12 15:40:54 +02:00
Cédric Krier 5745c651e6 Compare reset password using constant time function 2026-04-10 11:29:50 +02:00
Alen Sugimoto 3ba57cac70 Add regression tests for falsy negative currency formatting 2026-05-22 15:46:38 -07:00
Alen Sugimoto 0904162ec5 Fix falsy negative currency formatting selection
Closes #14860
2026-05-24 08:31:26 -07:00
Cédric Krier 88d280d500 Add phone types as guessing when phonenumbers is not installed
Closes #14861
2026-05-26 09:49:36 +02:00
Cédric Krier 02031672ca Do not save record in editable tree view with parent when checkbox is toggled
The parent record is responsible to save the records which is part of a field.

Closes #14848
2026-05-19 17:33:44 +02:00
Cédric Krier eec4bae8d0 Process response to wizard button only if the state is still the same
The response is asynchronous so when the event is processed the state may have
changed.

Closes #14847
2026-05-19 17:18:34 +02:00
Cédric Krier c22c4acd7a Set __processing when processing wizard state
The protection was copied from tryton but it was missing this activation.

Closes #14846
2026-05-19 17:13:41 +02:00
Cédric Krier f4dfb8de08 Use tree's record name search for the name parts of project work
Closes #14834
2026-05-19 15:22:00 +02:00
Cédric Krier 642063d4c9 Return a proper DateTime in UTC for domain parser completion
Closes #14842
2026-05-18 18:28:00 +02:00
Cédric Krier 340c6cda94 Always process 503 and 401 HTTP errors
Closes #14836
2026-05-18 15:09:24 +02:00
Cédric Krier a6a03ed2c4 Publish user notification on the bus when notifications are also modified or deleted
Closes #14835
2026-05-18 14:11:39 +02:00
Sergi Almacellas Abellana 2fba072d4a Clear ShippingMixin shipping_reference's when copying it
Closes #14833
2026-05-28 09:45:46 +02:00
Adrià Tarroja Caubet cc103371a8 Avoid crash on SEPA mandate report without bank
Closes #14831
2026-05-13 11:25:48 +02:00
Cédric Krier 8e0adee054 Close database after initialization of Pool from WSGI application
The psycopg pool starts worker threads that must be stopped.

Closes #14849
2026-05-19 18:19:59 +02:00
Cédric Krier d52455c360 Support pool process with spawn context for cron and worker
When max_tasks_per_child is set, the ProcessPoolExecutor uses a spawn
multiprocessing context which starts a new process from scratch with a __name__
being __mp_main__ which prevents the configuration to be restored.
So in the ProcessPoolExecutor initializer the configuration is restored using
the initial options.

Closes #14843
2026-05-19 12:29:44 +02:00
Cédric Krier 62b3a3b475 Test origin from sale instead of line to calculate cost for return sale of product kit
Closes #14854
2026-05-21 10:26:44 +02:00
Cédric Krier 51eaae2070 Delete stock moves only of deactivated products
Closes #14844
2026-05-19 10:53:56 +02:00
Cédric Krier 66232f9929 Add optionally a journal column on the invoice list 2026-05-05 16:39:29 +02:00
Cédric Krier e1b601f923 Remove dependency to pytz and backports.entry-points-selectable 2026-04-28 19:32:51 +02:00
Cédric Krier a0a6bca457 Add invoice relate from period and fiscal year
Closes #14812
2026-04-24 18:26:48 +02:00
Cédric Krier bd60a15973 Manage products directly on category form
Closes #14811
2026-04-24 23:31:34 +02:00