Commit Graph
59348 Commits
Author SHA1 Message Date
Cédric Krier a6c548b400 Check for new record only when saving an actual current record
49cbc9b99ed8 added the calculation of a new variable but before the test that a
current record is actually being saved.

Closes #13946
2025-03-28 16:04:21 +01:00
Cédric Krier 275248478a Ensure the contextual company is not None and positive before using it
Closes #13868
2025-03-10 23:43:49 +01:00
Cédric Krier 1e151a15a2 Remove support for Python 3.8 2025-04-06 12:11:03 +02:00
Cédric Krier 6d8b42c687 Add support for Python 3.13 2025-04-06 12:10:20 +02:00
Cédric Krier b2d84f32c2 Reset sale and shipment to draft before delete
Since 6c72b78d92d8 the documents are no more automatically cancelled prior
deletion.
2025-04-07 00:27:05 +02:00
Cédric Krier b7e5b7d865 Remove coupon name in Vue Storefront test
Since 5f9f977bfd12 there is no more a name field on coupon.
2025-04-07 00:25:13 +02:00
Cédric Krier 9ba7970f41 Check invoice state only for modified lines with an invoice
Since 6c72b78d92d8 the rewrite of the check did not skip invoice line without
invoice.
2025-04-07 00:23:44 +02:00
Cédric Krier 5041a85ef6 Update on_* field of trigger in tests
Since bc7e074fc4d9 the fields of trigger has been suffixed with an '_'.
2025-04-07 00:30:35 +02:00
Cédric Krier 39af772212 Do not override all written ids by ids from each argument in ModelSQL write
6f1447bdd702 makes ModelSQL.write retrieve the list of ids written from
_before_Write but they should be used as-is to call _after_write (and others).
2025-04-07 00:18:19 +02:00
Cédric Krier c5aadfb64a Clear currency on output move of production to lost and found 2025-04-05 19:43:09 +02:00
Cédric Krier 52dd42b587 Remove wrong classmethod decorator on compute_fields of timesheet line 2025-04-05 19:42:30 +02:00
Cédric Krier 5aeff66acd Use ModelStorage hooks instead of extending create/write/delete 2025-04-06 00:14:17 +02:00
Cédric Krier 45122b77c0 Add on_write to ModelStorage 2025-02-24 13:39:52 +01:00
Cédric Krier e9fe355663 Add on_delete to ModelStorage 2025-02-19 17:52:22 +01:00
Cédric Krier ae3cd83668 Rename "on_" columns of trigger 2025-02-20 09:29:52 +01:00
Cédric Krier 4b7b5a4739 Add check_modification to ModelStorage 2025-03-01 16:10:13 +01:00
Cédric Krier 72c96ec778 Add on_modification to ModelStorage 2025-02-19 23:01:52 +01:00
Cédric Krier defc4c46c5 Add preprocess_values to ModelStorage 2025-02-24 12:58:37 +01:00
Cédric Krier 121c279f47 Add before/after methods for CWRD methods of ModelStorage 2025-04-05 16:33:40 +02:00
Cédric Krier f94ae51649 Use compute fields for timesheet cost 2025-02-28 12:27:32 +01:00
Cédric Krier 15feef82d8 Use compute fields for places on stock move 2025-01-21 00:25:18 +01:00
Cédric Krier 12db02464b Use compute fields for format contact mechanism value 2025-01-17 17:24:50 +01:00
Cédric Krier 651144cf37 Use compute fields for IBAN number 2025-01-17 16:12:13 +01:00
Cédric Krier 5984c9aa5f Use compute fields for attendance date 2025-01-17 15:57:44 +01:00
Cédric Krier ea8b1e810f Use compute fields for intrastat type and value 2025-01-17 14:00:31 +01:00
Cédric Krier 6d8d307670 Use compute fields for internal quantities on stock move
Closes #13739
2025-01-15 22:10:07 +01:00
Cédric Krier 027384000b Add compute fields to ModelStorage 2025-01-15 21:37:11 +01:00
Cédric Krier 1772caec90 Clean migrations for series before 6.0 2025-01-04 00:19:42 +01:00
Nicolas Évrard cbdad75620 Remove old-style of super() calls 2025-04-04 00:45:18 +02:00
Nicolas Évrard 5781a49606 Call the actual super method of InteralShipmentReport
Closes #13892
2025-02-26 11:38:41 +01:00
Cédric Krier 18e4060d71 Do not check links to tfig.unece.org 2025-04-03 00:26:09 +02:00
Cédric Krier b4d984125b Permit party administrators to edit web users
Closes #13936
2025-03-24 13:12:43 +01:00
Cédric Krier ee10ced9e2 Allow to use phonenumberslite as dependency
phonenumberslite is a stripped version of phonenumbers which consume less
memory because it does not include geocoder, carrier and timezone packages
which are not used.
2025-02-03 14:00:41 +01:00
Cédric Krier a94ca05e3d Make phonenumbers dependency optional 2025-02-03 14:37:56 +01:00
Cédric Krier e9cd9d1163 Increase delay between transaction retries
Since c8771e45b861 the retry is no more a countdown but an increasing count, so
the sleep time must be adapted to also increase over retries.

Closes #13910
2025-03-07 21:54:11 +01:00
Nicolas Évrard 1e5fa01e63 Add launch_action helper function 2025-03-07 19:06:04 +01:00
Nicolas Évrard 1f414b20e5 Refactor _convert_action to use keyword-only arguments 2025-03-20 11:37:51 +01:00
Cédric Krier bee0a048f9 Add partial index on sale and purchase line for relate from product
Closes #13887
2025-02-25 10:05:43 +01:00
Cédric Krier 914373a6b4 Set unit price to purchase line from request in test scenario
Since ffe17ea235ab the unit price of purchase line is no more set to 0.
2025-03-30 14:45:32 +02:00
Cédric Krier c3cc1fdd80 Update test scenario to use "Accounting" in group names
The name of the groups have been updated in e5f6780b95b7.
2025-03-30 12:06:59 +02:00
Cédric Krier a5738aa475 Set supplier unit price for purchase request in test scenario
Since ffe17ea235ab the unit price of purchase line is no more set to 0.
2025-03-30 12:06:01 +02:00
Cédric Krier ae8c47d987 Use save current feature of Window Form when editing Many2Many record
This show the "Save" button instead of the "Apply changes" which is more
accurate.

Closes #13924
2025-03-15 15:52:40 +01:00
Cédric Krier 9557984b3f Set readonly Screen of One2Many when parent group is readonly
The user must not be allowed to modify records of a One2Many if the parent
record can not be saved.

Closes #13923
2025-03-15 15:47:29 +01:00
Cédric Krier 5bc3c53f6b Compare integrity error message with the constraint name prefixed by the table name
The TableHandler adds the table name as prefix to the constraint name so when
comparing with the integrity error message, it should also be added.
Especially if the constraint name is hashed by the TableHandler conversion
because the result is completely different.

Closes #13922
2025-03-15 13:31:57 +01:00
Cédric Krier cadc64f2ce Hide origin of incoming SEPA message
Closes #13920
2025-03-14 18:36:42 +01:00
Cédric Krier e1e597a4ea Allow SEPA messages to be downloaded at once
Closes #13919
2025-03-14 18:35:01 +01:00
Cédric Krier b66f41cdca Order lines in grouped line by descending id
This is to have the same order as the calculation of payable/receivable balance.
2025-03-13 18:34:04 +01:00
Cédric Krier 3b0b5f279e Filter out reconciled lines from debit/credit/secondary amount of account grouped line
It is needed to calculate the payable/receivable balance of grouped lines when
it is partially reconciled.

Closes #13918
2025-03-13 19:09:04 +01:00
Cédric Krier e5c727a12f Add payable/receivable date on move line group
Same as 7caa97a96b95 but for move line group.
2025-03-27 23:53:17 +01:00
Cédric Krier a276b07362 Make statement line number readonly when statement is not draft 2025-03-13 12:57:47 +01:00