Commit Graph
58278 Commits
Author SHA1 Message Date
Cédric Krier 40af8dc4ee Fix test_assign_try_with_lot of stock_lot
Closes #13318
2024-06-09 17:29:22 +02:00
Cédric Krier 948c375e59 Save party before saving bank created from BIC
This prevents the warning about unsaved relation record.
2024-06-09 15:03:51 +02:00
Cédric Krier 390310d7de Do not save invoice sequence in set_invoice_sequences tests
This prevents the warning about unsaved relation record as the fiscal year is
not yet created.
2024-06-09 14:58:34 +02:00
Cédric Krier 5fa6e8533b Add missing documentation of ExtensionTestCase 2024-06-09 12:45:58 +02:00
Cédric Krier 36f3adca1e Add TestCase to filter warnings with TEST_PYTHONWARNINGS 2024-06-09 12:45:39 +02:00
Cédric Krier 685411cf9a Catch and test warning for using an unsaved relation record 2024-06-08 17:37:35 +02:00
Cédric Krier 11ef2ba54c Replace deprecated datetime.utcnow usage
Closes #12647
2024-06-15 11:01:41 +02:00
Cédric Krier 951001cd35 Remove warnings for unsupported features of SQLite table handler
There is no need to raise warnings as the API is called by ModelSQL and the
user has not control over it.
2024-06-08 17:21:59 +02:00
Cédric Krier 5b253450a3 Fix test_set_key of FieldDictTestCase
Closes #13314
2024-06-08 17:19:40 +02:00
Cédric Krier 5b17010a9f Replace default sqlite3 adapters and converters
The defaults are deprecated since Python 3.12

Closes #13313
2024-06-08 17:18:03 +02:00
Cédric Krier 30fa01a012 Use a dedicated page on product form for web shop fields 2024-06-06 12:21:10 +02:00
Cédric Krier a7d4ae446a Add test scenario to inventory count with lot 2024-06-30 19:16:48 +02:00
Sergi Almacellas Abellana 1ab12f3e87 Display lot of counted inventory line
Closes #13083
2024-06-30 19:16:05 +02:00
Nicolas Évrard 68360837be Use a grid to display dictionaries
Closes #13120
2024-06-30 01:39:08 +02:00
Cédric Krier 5a6017afdc Disable user select for any theme 2024-06-03 17:00:50 +02:00
Cédric Krier 66b4a3a2a8 Make message dialog content selectable
Closes #7560
2024-06-03 17:29:16 +02:00
Cédric Krier 01c1966ba8 Add relate from sale and purchase lines to stock moves and invoice lines 2024-06-03 13:14:03 +02:00
Cédric Krier 2244c964fe Add "Stock" prefix to stock move labels 2024-06-03 10:48:34 +02:00
Cédric Krier 71c4f6e185 Add configuration for report convert command
Closes #13292
2024-05-31 19:35:02 +02:00
Cédric Krier 01aa71bf3d Remove "include list of currencies" from documentation 2024-06-01 19:01:14 +02:00
Cédric Krier 761e47c825 Update links in Chorus Pro documentation 2024-06-01 10:54:29 +02:00
Cédric Krier 8f68b65879 Wait for expected inventory levels number in test scenario
Closes #12794
2024-06-23 08:35:43 +02:00
Cédric Krier 29cf9e102a Allow payment with amount equals to 0
This is needed for integration with some services for which a payment fully
refund is updated with an amount of 0.

Closes #13351
2024-06-21 14:39:25 +02:00
Cédric Krier 59b74452e6 Add test scenario for reconciliation of empty lines on posting 2024-06-28 01:00:22 +02:00
Richard Vong e48510503f Do not try to reconcile posted lines without debit/credit but with second currency amount
Closes #13293
2024-06-28 00:59:01 +02:00
Cédric Krier cd1c57dddf Use UPSERT to update cache 2024-06-23 08:39:41 +02:00
Cédric Krier c1310f677a Add unique constraint on cache name 2024-03-30 16:13:30 +01:00
Cédric Krier 7dfd4292e9 Remove extra query that retrieve cache timestamp twice 2024-03-30 16:09:07 +01:00
Cédric Krier c028397262 Try to update next call of skipped cron tasks 2024-05-08 10:07:09 +02:00
Cédric Krier a84cb45141 Compute next call of cron task using actual now
If the cron task took more time then the repeating delay, it is not useful to
reschedule it in the past.
2024-04-03 16:30:46 +02:00
Cédric Krier 339ee1867d Use process pool to run cron
Closes #13053
2024-04-03 16:28:22 +02:00
Cédric Krier f9b50f16bf Lock only running cron record
A single transaction is used to lock, run and update the cron record.
Only the cron run is locked so other cron processes could run other cron
tasks.
When fixing transaction, we ensure that the same cron record is selected again
otherwise we restart with an empty transaction setup the selection process.
If a cron record fails to execute, it is ignored from the selection for this
run.
The run stops once there is no cron record that can be selected.

Closes #13158
2024-05-07 19:44:35 +02:00
Cédric Krier 3369d98de2 Add option to skip tests that require network 2024-05-20 12:20:00 +02:00
Cédric Krier 822e716070 Add language support per field in export data
Closes #13266
2024-05-19 19:58:16 +02:00
Cédric Krier e98b1f2559 Add translated descriptor for Char and Text fields 2024-05-18 19:06:00 +02:00
Cédric Krier 76b60d19ec Do not close import window on error
Closes #8202
2024-05-27 16:32:58 +02:00
Cédric Krier 7e0caccd67 Include row and column in error message when importing data 2024-05-27 16:24:47 +02:00
Cédric Krier 922925c151 Remove support for :id suffix in import data
Closes #13189
2024-05-27 16:25:33 +02:00
Cédric Krier db97bdca70 Raise user error when import data with wrong number of columns 2024-05-27 14:54:03 +02:00
Cédric Krier 57e59ac67d Add secondary unit to purchase amendment
Closes #13256
2024-05-21 18:56:20 +02:00
Cédric Krier bbd5e521f3 Add secondary unit to sale amendment
Closes #13256
2024-05-21 18:56:03 +02:00
Cédric Krier 6ffe8bcea0 Enforce secondary unit rate and factor on sale and purchase line 2024-05-21 16:30:46 +02:00
Cédric Krier 77363b377f Optimize and simplify search query for invoice amount
There is no need to include record rule clause in the searcher.
And the grouping can be done only once.
2024-04-28 17:28:58 +02:00
Cédric Krier 1c9740fd2f Do not use a Form to get the menu Screen
When the screen is created by a Form, it fetches the resources when a record
is selected. But this is not needed for the menu as it has no menu bar.
2024-05-10 16:32:31 +02:00
Cédric Krier 43599f9927 Use SQL query to compute reconciliation lines of invoices
Closes #13260
2024-05-16 16:06:49 +02:00
Cédric Krier c54d3e89ec Extract SQL query for lines to pay of invoices 2024-05-16 14:47:22 +02:00
Hartmut Goebel dd01b75956 Update documentation of LDAP authentication 2024-06-20 13:13:17 +02:00
Cédric Krier 7acc539f85 Do not test network client in unittest
The services are not reliable enough to be tested as unittest.

Closes #13264
2024-05-22 09:20:01 +02:00
Cédric Krier b00015d85a Do not update shipment cost method to Null if it is already Null
The migration update the sales already updated each time the sale is
registered. On large table, this can be slow.
2024-06-13 17:26:01 +02:00
Cédric Krier e58215ae2b Set focus to the first focusable child of the cell
Closes #13327
2024-06-10 20:04:39 +02:00