Commit Graph
58136 Commits
Author SHA1 Message Date
Cédric Krier fbc0d82d6a Support language suffix in CSV import
Closes #13141
2024-04-11 12:41:05 +02:00
Cédric Krier 891423c6b2 Set default value from account move using line field name
Some Function fields has the move as prefix which is removed when applied to
the move. But when setting default value for the line, the move prefix must
not be removed.

Closes #12967
2024-04-27 18:36:49 +02:00
Cédric Krier f94f539158 Fix changelog of purchase request module 2024-04-30 01:47:22 +02:00
Cédric Krier 52d2b788d6 Use model reference of field to get model name for HTML editor
Since 8680316c6805 the model field stores only the string name of the model,
the foreign many2one must be used instead.

Closes #13239
2024-05-07 00:35:29 +02:00
Cédric Krier 9e6789f8c1 Ensure there is a company id in the context before testing as positive
Closes #13228
2024-05-02 18:55:04 +02:00
Cédric Krier 3b7fb6adca Remove default value for unknown request_quotations field
Closes #13212
2024-04-30 18:29:24 +02:00
Cédric Krier f859c8941d Rename quality inspect wizard from Done to Completion
Following 64726d495038
2024-04-16 23:48:13 +02:00
Cédric Krier c561ffc298 Unify logging message of modules 2024-04-13 10:52:08 +02:00
Cédric Krier 2eaf20a461 Add shipped state to customer shipment
Closes #13150
2024-05-06 00:34:03 +02:00
Cédric Krier 6f40ac5659 Add partial support for constraints with SQLite backend
The Unique and Exclude constraints can be enforced on SQLite backend with
UNIQUE INDEX as long as they do not use parameters.
2024-04-02 00:29:35 +02:00
Sergi Almacellas Abellana ea01ba7d47 Add missing gettext to sao forgotten password button
Otherwise the text can not be traanslated
2024-04-18 17:54:52 +02:00
Cédric Krier c80310c2dc Add warning when changing credentials
Closes #13126
2024-03-25 14:24:55 +01:00
Juan Jose Pablos 981580a19c Add labels in configuration documentation of trytond 2024-05-04 12:37:32 +02:00
Cédric Krier cd8777277a Update translations [skip ci]
Closes #13225
2024-04-30 13:09:39 +02:00
Adrià Tarroja Caubet 0506c86e8c Add space after quote in message for no open fiscal year date 2024-04-30 09:44:04 +02:00
Cédric Krier f100bb11ed Use title case for button in wizard to handle purchase request cancellation 2024-04-21 12:18:38 +02:00
Cédric Krier 38a3a8e68e Increase version number 2024-04-29 18:03:56 +02:00
Cédric Krier a504f363cc Add tag 7.2.0 2024-04-29 17:31:23 +02:00
Cédric Krier 2fc668b9f7 Prepare release 7.2.0 2024-04-29 17:31:11 +02:00
Cédric Krier a9a5be0834 Add demo script 2024-04-28 13:58:17 +02:00
Cédric Krier 5f5a93617d Fallback to store true for indexes command line option
BooleanOptionalAction does not exist on Python 3.8
2024-04-28 10:43:14 +02:00
Cédric Krier b443997044 Update translations [skip ci] 2024-04-27 18:44:57 +02:00
Cédric Krier 4c5659e87c Support loading plugins without sources
cx_Freeze include only the bytecodes version of the translation plugin.

Closes #13208
2024-04-23 13:38:29 +02:00
Cédric Krier f5db4a5899 Use find_packages to fill packages for build_exe
Otherwise cx_Freeze does not include the translation plugin as it is
dynamically loaded.

Closes #13208
2024-04-23 13:19:54 +02:00
Cédric Krier 4acd946200 Use id as default payee value on pay invoice wizard
Closes #13140
2024-04-21 15:33:42 +02:00
Cédric Krier ba6c36654c Assert that xxx2many fields have an initial value to compute changes
The changed values relies on the initial value to compute the changes for
xxx2many fields. So we must ensure to have it if the field has been modified.

Closes #13099
2024-04-22 09:32:58 +02:00
Cédric Krier 787595125a Depends on xxx2many fields when they are assigned by a change function
Closes #13099
2024-04-22 08:59:48 +02:00
Cédric Krier 681b5e7d64 Do not rely on taxes order to compare with default invoice line taxes
Since 6f4fa96a654c invoice line taxes are compared with the default taxes but
the order may not be the same.
The order on Many2Many is not relevant because the computation always sort
using Tax.sort_taxes.
2024-04-21 22:17:28 +02:00
Cédric Krier 1cb2174141 Trigger record saved after reload ids when execute button
The buttons of the toolbar must be updated after having saved the current
record.

Closes #13125
2024-04-21 15:23:18 +02:00
Cédric Krier ed48f7e9dc Simplify type test when screen execute button 2024-04-21 15:26:19 +02:00
Cédric Krier 8e211785e4 Ensure current record has been saved before execute button action 2024-04-21 15:25:14 +02:00
Cédric Krier e09d6c6beb Wait for display to finish when reloading record 2024-04-21 15:24:26 +02:00
Cédric Krier dac0b9c0a7 Fallback to default model access if RPC request fails 2024-04-18 19:22:07 +02:00
Cédric Krier 0e81d2d158 Encode with gzip only if a session exists
Since 1923117e935d the server does not accept compressed content for
unauthenticated request.
2024-04-18 19:15:47 +02:00
Cédric Krier 490a5e2c6c Do not display cancelled moves in shipment reports
Closes #13202
2024-04-18 14:49:49 +02:00
Cédric Krier 567719b1ab Use shipment report mixin for delivery note 2024-04-18 14:49:14 +02:00
Cédric Krier 53c0edfe05 Use a set of models to compute cache key for record rules 2024-04-17 20:23:26 +02:00
Cédric Krier 38fe0c087a Compute cache key for record rules using all models
As model can inherit the access rules from another, the key must include the
keys of those other models.

Closes #13162
2024-04-17 20:22:10 +02:00
Cédric Krier d4248499ca Use white background to remove alpha channel of images
Closes #13191
2024-04-11 15:19:41 +02:00
Cédric Krier 1ec445dbb1 Use strict locale parsing for date and datetime
Closes #12314
2024-04-11 13:04:01 +02:00
Cédric Krier f3bcf05446 Include tax amount in shipping cost in product data feed
Closes #13173
2024-04-09 15:03:39 +02:00
Cédric Krier 8320379195 Compute sale price under the web shop context
Closes #13172
2024-04-09 13:25:35 +02:00
Cédric Krier 14c5a40342 Check only shipment with cost method 'order' to invoice shipment cost on order
If the sale is linked to a shipment with a different cost method than order,
it should not be considered to decide to invoice or not the sale shipment
cost.

Closes #13171
2024-04-08 17:45:01 +02:00
Cédric Krier 49bd15c94e Fill tax rule pattern with default empty countries
A rule line for a country is not expected to be used when the country is
unknown.

Closes #13169
2024-04-08 12:13:33 +02:00
Cédric Krier 3bfc1e25d0 Limit template error to Genshi error in marketing activity and email validation 2024-04-05 00:35:19 +02:00
Cédric Krier 6d9f1c8d56 Raise user error on template error when render marketing activity or email
Closes #13163
2024-04-05 00:34:19 +02:00
Adrià Tarroja Caubet e046274641 Clear view toolbar cache when email templates are modified
Closes #13072
2024-04-21 17:29:41 +02:00
Sergi Almacellas Abellana a71931c15b Add employee fields on invoice form
Closes #13128
2024-03-25 15:30:57 +01:00
Cédric Krier f502095a4a Set exact width for date, time and datetime widgets
Closes #13035
2024-04-15 00:30:28 +02:00
Cédric Krier cd816227b3 Prevent to get user_id from request without view_args
If user_id is accessed before view_args has been setup, we should not cache
`None` as value but instead raise an exception.
The `user_id` may be accessed before the mapping if the request is logged
because the representation of the request used the `rpc_method` which needs to
parse the request data. But since 1923117e935d parsing compressed content is
only allowed for request with `user_id`.
So we can no more include the `rpc_method` is the request has not yet been
mapped and so it has a `view_args`.

Closes #13203
2024-04-18 19:28:04 +02:00