Commit Graph
56884 Commits
Author SHA1 Message Date
Cédric Krier d31d4dd554 Drop python 3.7, add python 3.11 for quality module 2023-04-12 00:19:44 +02:00
Cédric Krier d49f0ce8fc Set cron timezone with default value
Closes #12056
2023-04-11 00:12:33 +02:00
Cédric Krier a826d91015 Ensure reset password has at least the minimal length for password
Closes #12028
2023-04-11 00:08:28 +02:00
Cédric Krier 2fa03cc26c Remove timeout source to set watch cursor when RPC is being processed
Closes #12132
2023-04-08 17:21:40 +02:00
Cédric Krier a84cb9f07c Do not change account nor journal of invoice no more draft
Closes #12146
2023-04-08 16:36:38 +02:00
Cédric Krier 6b1a4a9f27 Do not slugify file extension when selecting file to save or create folder
Closes #12152
2023-04-08 16:11:36 +02:00
Christophe 034d46a50d Do not set unit prices for product without list and gross price
Closes #12044
2023-04-08 14:11:03 +02:00
Cédric Krier e3e8847c3c Use dates from context to compute account type amount
The general ledger dates are not good because they are defined to compute a
start and end amount.

Closes #12162
2023-04-08 14:31:25 +02:00
Cédric Krier 83b8037eca Limit debit and credit kind to line with debit and credit in aged balance
Closes #12193
2023-04-07 17:03:03 +02:00
Cédric Krier 61f2f749f4 Update model data also when old values are different from the current values
Closes #12190
2023-04-06 20:36:25 +02:00
Cédric Krier cb3fcf5d48 Do not strip monetary thousands separator
Closes #12191
2023-04-06 20:39:18 +02:00
Cédric Krier dd3db455f2 Drop python 3.7, add python 3.11 and generate XML coverage for account stock EU 2023-04-12 00:17:13 +02:00
Cédric Krier cc713a6951 Test extended field of intrastat declaration 2023-04-12 00:14:21 +02:00
Cédric Krier 081c9a9df9 Catch exception when finding fiscal year to compute extended intrastat
Since 783a99ec69c7 FiscalYear.find always raises an exception.

Closes #12205
2023-04-12 09:22:53 +02:00
Cédric Krier ace9beeab4 Log transition only for updated records
Closes #12202
2023-04-11 15:10:27 +02:00
Cédric Krier 3271996993 Set send invoices to SII from last period when renewing fiscal year
Closes #12067
2023-04-08 18:41:29 +02:00
Cédric Krier 5c346269c6 Save fiscal year at the end of renewal 2023-04-08 18:40:27 +02:00
Cédric Krier dbbb2be05c Set company from the dunning line when generating dunning
Closes #12192
2023-04-07 14:33:34 +02:00
Cédric Krier ca1901f0c3 Add delivery address on sale report
Closes #6957
2023-04-10 12:42:23 +02:00
Cédric Krier 24701615ac Compute deferral remainder using balance of income account
Closes #12168
2023-03-30 23:56:59 +02:00
Cédric Krier cc34413c0e Change to current directory to build package
setuptools expect to be run from the root package directory.
2023-04-08 14:47:08 +02:00
Cédric Krier 2dc0c29b70 Generate packages in parallel 2023-04-02 18:30:21 +02:00
Cédric Krier f2f463140f Support deposit in second currency
Closes #4922
2023-03-08 16:49:14 +01:00
Cédric Krier 51b7fe72f8 Support invoice payment with currency exchange
Closes #11500
2023-02-16 18:59:06 +01:00
Cédric Krier 5092923d0d Support reconcile lines with currency exchange 2023-04-05 17:46:53 +02:00
Cédric Krier ec01a52d00 Add amount second currency to general ledger line 2023-04-01 14:26:00 +02:00
Cédric Krier e859cf7376 Add searcher for currency on account models 2023-03-08 16:07:51 +01:00
Cédric Krier 6a05a2a8d5 Add searcher for currency on account move line 2023-02-15 19:53:37 +01:00
Cédric Krier dc7ab1b9f5 Do not fail to set button state if there is no record
The readonly attribute of record must only be used if there is actually a
record.

Closes #12189
2023-04-05 18:33:38 +02:00
Cédric Krier 6c1f09e551 Do not always enforce access on resource selection
When the reference field is validated (without check access), it should not
fail for SelectionValidationError if the user has no access to the resource.

Closes #12178
2023-04-03 10:54:50 +02:00
Nicolas Évrard 4301c56033 Drop default on id column of history tables
The migration introduced in baa87cf1a343 would fail because previous migration
would have wrongly set a default value in id column of history tables

Closes #12186
2023-04-05 19:36:27 +02:00
Nicolas Évrard 23304fc2e0 Handle string value set from domain inversion in MultiSelection fields
Closes #12181
2023-04-03 17:02:51 +02:00
Cédric Krier dc979ed50b Hide pay button on invoice if there is no payment method
Closes #12160
2023-03-24 13:21:42 +01:00
Cédric Krier 6e5c14f47e Add all documentation files on the index 2023-03-30 18:59:23 +02:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier 43b1d28326 Return rec_name for on_change_with of xxx2One and Reference
Closes #9638
2023-03-26 00:29:14 +01:00
Cédric Krier 4d6b36e711 Support return instances for Function getter and on_change_with
Closes #9640
2023-03-25 01:27:19 +01:00
Cédric Krier 62b33b5e3d Do not retrieve multivalue model for product template function
Since f80dceebed73 the cost price method is retrieved using the multivalue API
and since 11921ff82223 get_multivalue on product calls the template method.
2023-04-03 01:36:57 +02:00
Cédric Krier 40cc20121b Test on forecast record name fails after 31 March 2023
The test was added with 3b15c1378292 but as there is a computed active field
on forecast based on the "to date", the search by record name does not find
any active record.
2023-04-03 01:17:03 +02:00
Cédric Krier 9de4a7627e Rename label of payment amount to "Amount to Pay"
This is more explicit for the user because "Payment Amount" sounds like the
total of payments.
2023-03-24 12:28:31 +01:00
Cédric Krier 2ddb835bb1 Show payment amount and payments on account move line form
It is useful to understand how payment amount is computed.
2023-03-24 12:27:09 +01:00
Cédric Krier 9ad95c58ed Log modification of sale and purchase header via wizard 2023-02-08 19:05:00 +01:00
Cédric Krier ea62dea8da Log transition of invoice and shipment states of sale and purchase 2023-02-08 19:04:42 +01:00
Cédric Krier 17bbce3919 Log events for ModelStorage
It logs by default:
 - the write and delete done directly by the users
 - the execution of a button
 - the execution of wizard state that has modified the database
 - the workflow transition to a new state
2023-02-08 19:03:29 +01:00
Cédric Krier 68fdcb3f90 Add option to disable thread in tryton
As shown in #11767 on some platform the Python threading does not work well
with Gtk. So it is good to have the option to disable it at the cost of less
performance.
2023-01-26 18:31:45 +01:00
Cédric Krier 06ea8b0fba Use threading module instead of low level _thread in tryton 2023-01-26 17:57:42 +01:00
Cédric Krier c4bf6ccc11 Add quality module
Closes #7600
2023-03-12 22:24:45 +01:00
Cédric Krier e6383f0804 Ensure clearing account is from the same company as the payment journal
Closes #12159
2023-03-24 12:33:54 +01:00
Cédric Krier 4e26c991c7 Do not remove related_to from statement line when changing the amount
Closes #12176
2023-04-01 14:17:25 +02:00
Nicolas Évrard 5179e6cd40 Insert multiple rows at once
Closes #12106
2023-03-02 22:43:30 +01:00