Commit Graph
57648 Commits
Author SHA1 Message Date
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
Cédric Krier 2ff6251c0e Do not compute domain inversion when displaying column that is not a field
Since c320a786923f the field is needed to compute domain inversion so we
should not compute domain inversion for non field.

Closes #12814
2023-12-10 23:32:43 +01:00
Nicolas Évrard f756c5f2e3 Insert new keys in dictionary while respecting the key sequence
Closes #12750
2023-11-14 10:20:07 +01:00
Cédric Krier 08a5b65618 Always pass the field name to convert value from getter of Function field
Closes #12802
2023-12-05 12:33:33 +01:00
Cédric Krier e030cd2470 Strip generated code of product
The template code or product suffix code allow to have trailing and leading
spaces but not the code of the product. So we must compare the code with a
stripped version of the generated code to avoid infinite loop.

Closes #12801
2023-12-05 10:28:35 +01:00
Cédric Krier f5076fb5e7 Limit modification access of product location to stock administrator
Closes #12798
2023-12-03 23:01:57 +01:00
Cédric Krier 3567c87ebc Test workflow graph report 2023-11-19 17:50:14 +01:00
Hartmut Goebel 1bcf23721c Make state node of workflow graph unique
Quite a few model have states with the same name (e.g. "open",
"close).  When creating Workflow Graphs for several of these models at
once, the nodes of these states must be distinguished.  Otherwise the
graphs will overlap and eventually even overwrite each other.

Closes #12253
2023-11-19 12:16:03 +01:00
Cédric Krier 3d31023cd9 Wait until the expected result is fetched in Stripe test scenario
Closes #12221
2023-12-02 12:02:10 +01:00
Cédric Krier 2d45f1630a Wait until the expected result is fetched in Shopify test scenario
Closes #12794
2023-12-02 12:02:16 +01:00
Cédric Krier 9358d7197f Do not clear log_records of Transaction if it is empty
When the transaction fails to start, the log_records may still be None.

Closes #12793
2023-12-01 20:55:20 +01:00
Cédric Krier 5f2793f75c Hide URL button when the field is empty
The disabled attribute does not prevent the user to click on the empty link.

Closes #12747
2023-11-14 15:23:36 +01:00
Cédric Krier 77660e3932 Do not disable button and action on readonly records
Backed out changeset 0e988bac37ba

Closes #12651
2023-11-14 14:25:04 +01:00
Cédric Krier 2e31d458e1 Render button as readonly in tryton list if the record is readonly
Closes #12741
2023-11-14 00:31:12 +01:00
Cédric Krier 6ebbe6d5d7 Set One2Many fields later
Closes #12740
2023-11-14 00:05:51 +01:00
Cédric Krier b75207c1cb Validate field set later
Closes #12739
2023-11-14 00:05:17 +01:00
Cédric Krier 47df4da88f Add statement_timeout to postgis get_connection
173ecc4f452d add a new parameter to get_connection so it must also be defined
for postgis.
2023-12-01 12:03:55 +01:00
Cédric Krier e195a0fb93 Add DatabaseTimeoutError to postgis backend
173ecc4f452d add a new database error so it must also be defined for postgis.
2023-12-01 11:32:57 +01:00
Cédric Krier 2cc7faec53 Update tutorial to use PEP517 when installing in editable mode
Closes #12701
2023-11-20 00:00:26 +01:00
Cédric Krier fd652d4b4f Update documentation of sale opportunity 2023-11-05 21:35:48 +01:00
Cédric Krier 24fc9d1caa Open sales converted from opportunity 2023-11-05 00:02:18 +01:00
Cédric Krier bf6cb46170 Restrict convert button of sale opportunity to sale group 2023-11-05 00:03:21 +01:00
Cédric Krier 87470e9180 Fill sale with default addresses and payment term if not filled on opportunity
Closes #12671
2023-10-26 09:58:49 +02:00
Cédric Krier e58a569f23 Do not force value for single list on multi-value field
Fields based on multi-value must not be forced to the single value of a list.

Closes #12737
2023-11-14 00:00:15 +01:00
Cédric Krier ba7badec6e Retry to send email when server unexpectedly disconnect
Closes #12790
2023-12-01 09:54:40 +01:00
Cédric Krier b7fe8b8c1a Always round unit price when recomputing it for stock move
Closes #12787
2023-11-30 15:59:31 +01:00
Cédric Krier e63fe001cb Do not scroll into view empty element
Closes #12783
2023-12-03 01:51:48 +01:00
Cédric Krier e70d24d375 Return values instead of changed result when testing payment term
Since 0db956eb2505 the returned value of on_change_with is set on the field.

Closes #12775
2023-11-27 12:43:31 +01:00
Sergi Almacellas Abellana 93beb80269 Explain where available companies and employes are defined 2023-11-20 09:51:12 +00:00
Sergi Almacellas Abellana afa4a20176 Make record rules documentation more explicit 2023-11-23 15:04:06 +01:00
Nicolas Évrard 300bad3f6b Assert that only one thread is active in trytond.application 2023-11-22 01:37:11 +01:00