Commit Graph
60617 Commits
Author SHA1 Message Date
Cédric Krier bb88737b22 Remove usage of warehouse field
26b2c5a94b90 replaced the field by a property.
2026-06-18 10:38:26 +02:00
Udo Spallek 16a5a90aff Return the quantity of sale line component for manual shipment method
Closes #14888
2026-06-17 22:50:11 +02:00
Nicolas Évrard 962c9d02a1 Save the new ir.model.data instances before calling functions on them
Closes #14885
2026-06-09 18:33:51 +02:00
Cédric Krier 2f57974cef Set shipment address only when empty when changing party of sale amendment
Closes #14796
2026-06-12 23:42:19 +02:00
Adrià Tarroja Caubet a127ced8d1 Add missing invoice address when changing party of amendment
Closes #14796
2026-06-12 23:44:04 +02:00
Cédric Krier 8feb50c71c Support query without where clause when searching on Many2One with where operator
When not using subquery but EXISTS and having a target domain converted into
UNION, the query result does not have a 'where' clause.

Closes #14889
2026-06-11 14:29:17 +02:00
José Antonio Díaz Miralles d51621e14c Sanitize screen.current_record if it is already destroyed
Closes #14827
2026-05-10 11:44:04 +02:00
Cédric Krier dd03853b84 Document the usage of active_test in the context for ModelSQL.search_domain 2026-04-23 00:57:30 +02:00
Cédric Krier 77073c56e4 Improve help text for the tax rule fields on party
Closes #12674
2026-04-14 15:19:59 +02:00
Cédric Krier 8aaf6e1eb5 Replace warehouse field on location by a property
The Function field is not efficient so its usage should be reserved to
server side code only.
2026-05-07 18:36:18 +02:00
Cédric Krier 8dfa6915b7 Convert toolbar into mutable objects before modification
Since 619fd425e3bb the toolbar may be immutable when it comes from the cache.

Closes #14881
2026-06-08 09:09:23 +02:00
Cédric Krier 76f8794062 Sort selection strings without key function
The selection is a list of string so we can sort as-is.

Closes #14883
2026-06-08 16:19:50 +02:00
Cédric Krier 9d84995d12 Remove display on element style when showing element
The `revert` value prevents to inherit from the CSS rules.

Closes #14872
2026-06-02 12:24:25 +02:00
Cédric Krier 8962022c59 Remove unnecessary MANIFEST.in 2026-06-02 12:02:28 +02:00
Cédric Krier 57a9484da8 Prevent modifying the company of project work with parent, children or timesheet
Closes #14871
2026-06-02 12:00:50 +02:00
Cédric Krier 6243f405bd Use only active journal for reception of direct debit
Closes #14866
2026-05-28 16:30:28 +02:00
Cédric Krier ecfa483dfb Do not copy accounting templates when copying product category for accounting
Closes #14862
2026-05-27 10:21:50 +02:00
Cédric Krier 62b2a4d89f Reset the selection when cursor is set with reset view
The view is reset when a new record is displayed and on editable list or
list-form, we want to have only the current record selected even if the
selection checkbox is checked for all records.

Closes #14858
2026-05-21 17:54:51 +02:00
Cédric Krier 0c76beb1a0 Add row factory for postgis backend
#14797
2026-06-07 14:17:41 +02:00
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