Commit Graph
57678 Commits
Author SHA1 Message Date
Cédric Krier ce5afab66e Duplicate object tag when updating the content of Document widget
Some browser does not refresh properly the content when updating the data
attribute.

Closes #12808
2023-12-07 22:50:42 +01:00
Cédric Krier b3d31f1b60 Always align on start on xs screen
e5446fb8d4ce reintroduced the rule but using text-center while it is justify-*
that is used for grid layout.

Closes #12807
2023-12-07 19:54:48 +01:00
Cédric Krier 28d72755f4 Give more spaces to the party identifier types configuration 2023-12-10 23:42:24 +01:00
Cédric Krier 71ea6e12e7 Hide filter box on extra small screen
Closes #12014
2023-12-07 17:53:34 +01:00
Cédric Krier 413bb19f68 Limit size of tab title per screen size
#12014
2023-12-07 17:36:14 +01:00
Cédric Krier 001377f6e2 Switch between long and short name/title of tab depending on screen size
On small screen the long name is used for the tab name and the short name for
the title. On large screen it is the opposite.

#12014
2023-12-07 17:24:19 +01:00
Cédric Krier 0a4015a2d2 Remove navbar-header to dropdown menu of tab
#12014
2023-12-07 13:41:14 +01:00
Cédric Krier a6639da28b Hide more buttons on small and extra small screens
#12014
2023-12-07 14:14:52 +01:00
Cédric Krier 2c87c460ac Use reference and id to compute record name of blanket agreement
Closes #12805
2023-12-06 16:54:44 +01:00
Cédric Krier fa8f47e0d1 Add short method to email marketing template context
This allows dynamic URL to be shorten and tracked.

Closes #12785
2023-11-30 10:07:57 +01:00
Cédric Krier 5208b96d55 Add UTM to marketing automation activity
Such that links in email message get UTM parameters.
2023-11-25 18:16:33 +01:00
Cédric Krier 1150e78834 Add UTM to marketing email message
Such that links in email message get UTM parameters.
2023-11-25 17:57:12 +01:00
Cédric Krier 2cf37b3763 Add UTM parameters to shortened URL
Closes #12772
2023-11-24 19:28:23 +01:00
Cédric Krier f9a638e951 Use sql table after calling the __setup__ super of marketing parameter
It is ModelSQL.__setup__ that fill the _table attribute used in the SQL table.

Closes #12773
2023-11-25 18:31:08 +01:00
Cédric Krier 071364744e Use sortable function to test origin of xxx2Many 2023-12-02 18:33:07 +01:00
Cédric Krier 37ef23134a Order xxx2Many targets by id origin instead of order name
The ordering is only to group records for cache alignment, so ordering by id
avoid to have to join on the origin table.

Closes #12795
2023-12-02 18:25:11 +01:00
Cédric Krier 96c8feaaba Round moves progress to 4 digits as the field
Closes #12834
2023-12-14 19:13:23 +01:00
Nicolas Évrard c5e5ddf2a1 Mark M2M records for addition in parent after they're saved
Closes #12832
2023-12-14 17:54:27 +01:00
Maxime Richez b391c418ef Run setup.py explicitly with python3 to get version when freezing
Closes #12831
2023-12-23 02:06:45 +01:00
Cédric Krier 1c0ff8eec2 Do not try to read action values if the ID does not exist 2023-12-17 22:57:20 +01:00
Cédric Krier 3d3ffc5c7c Do not check access when retrieving action ID
The ID does not contain any security data. If the user does not have access to
the action, an access error will be raised later when actual values are read.

Closes #12803
2023-12-17 22:54:17 +01:00
Cédric Krier 37997a6329 Add None value to selection for nullable_widget when search_read fails
Closes #12838
2023-12-17 21:13:12 +01:00
Cédric Krier 950ba29cd7 Do not read record name for value None for inactive selection
Closes #12838
2023-12-17 21:12:41 +01:00
Cédric Krier d8a0bfb4e1 Fix python formatting in tryton translation 2023-12-16 11:17:44 +01:00
Cédric Krier 0ff69f990a Add missing match_none argument to carrier match for subdivision
Closes #12835
2023-12-14 19:26:23 +01:00
Cédric Krier ea2dbe21d5 Check lot required only when changing move to done
Closes #12547
2023-12-12 16:03:33 +01:00
Cédric Krier 92c9467b9c Always include changed field when calling on_change_with
Since d142b33fa3ab the on_change_with relies on _changed_value.
So in order to correctly detect if a xxx2Many field has some record removed,
we need to have the value of the client.

Closes #12837
2023-12-15 19:10:38 +01:00
Cédric Krier fb1f515011 Add location code to record name of location
Closes #12804
2023-12-06 16:42:24 +01:00
Cédric Krier e9f90b7944 Use 0 as fallback for missing debit or credit in on_change functions
Closes #12823
2023-12-12 17:02:31 +01:00
Cédric Krier 2b0d50afc4 Compare leaf values only of the same type to sort domain
Closes #12792
2023-12-12 18:02:14 +01:00
Cédric Krier f978cf0f73 Fill currency, payment term and invoice address with on_change_party of purchase
Closes #7027
2023-12-02 23:17:25 +01:00
Cédric Krier 0b8fa97b81 Update marketing campaign scenario for sales returned by opportunity conversion
Closes #12829
2023-12-16 00:11:59 +01:00
Cédric Krier 545e10465f Open purchases created from purchase requests
Closes #12796
2023-12-02 23:42:08 +01:00
Cédric Krier 80fac3b031 Add confirmation when cancelling shipments
Closes #9667
2023-12-02 18:45:20 +01:00
Cédric Krier 278c61466b Prefix record name with "record" in validation error message 2023-11-17 23:00:57 +01:00
Cédric Krier 779b329705 Use string version for selection values in error message 2023-11-17 19:55:48 +01:00
Cédric Krier 332bf2d30a Support x86_64 and arm64 darwin build
Closes #10046
2023-11-04 19:58:21 +01:00
Cédric Krier 8d07966b10 Update documentation of stock product location 2023-11-21 12:09:42 +01:00
Cédric Krier 902b745bb7 Pick consumable product by default product location
Closes #12315
2023-11-21 11:29:07 +01:00
Cédric Krier 86c2350271 Add default location property to pick product as fallback 2023-11-21 10:57:38 +01:00
Cédric Krier 98c6a80035 Split set_product_location to have a get_product_location 2023-11-21 10:46:48 +01:00
Cédric Krier ac7c59dd1b Add index entries for document incoming modules 2023-11-25 21:40:12 +01:00
Cédric Krier 9ad54faa98 Update documentation to use python3 instead of python 2023-11-20 00:04:08 +01:00
Cédric Krier 0d625d4010 Remove usage of set_user to skip check access
Since ce8d7a19766a the access rule are enforced only if check access is set.
2023-12-01 21:14:37 +01:00
Nicolas Évrard 8c82dccd9f Filter history using SQL
Closes #12687
2023-10-29 01:31:05 +02:00
Nicolas Évrard 2f2f15e49b Create indexes on the history table
Closes #12686
2023-10-30 16:37:40 +01:00
Nicolas Évrard 67fe5021ba Do not prevent to fill the cache of fields with a datetime_field set
The value of those fields do not depend on the value of the datetime_field,
only the value of the remote fields read.

Closes #12715
2023-11-22 01:29:47 +01:00
Nicolas Évrard 32fa5569ad Do not prevent to fill the cache of fields with a context
The value of those fields in the database do not depend of the context and
Function fields getter depending on context are tested separately.

Closes #12715
2023-12-12 22:48:01 +01:00
Nicolas Évrard 59b686b264 Report DatabaseOperationalError as an HTTP Service Unavailable error
Closes #12736
2023-11-13 10:42:37 +01:00
Nicolas Évrard e084ca5d66 Use a standard reporting mecanism for all HTTP errors 2023-11-13 10:40:21 +01:00