Commit Graph
59321 Commits
Author SHA1 Message Date
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
Cédric Krier 73dfe9fc39 Reuse original readonly state of date of statement line 2025-03-13 12:57:31 +01:00
Cédric Krier f101ad8d05 Set party of statement line readonly when state is not draft
We must keep existing states when adding required states to party.

Closes #13916
2025-03-13 12:56:38 +01:00
Cédric Krier 0719694b36 Set grid template columns to 100% of dict container on XS screen
On XS screen, the dict container has only one column so it must take 100% of
the width instead of fit content of 50%.

Closes #13914
2025-03-10 13:00:29 +01:00
Cédric Krier 9489292259 Use .input-icon for date/time input button in Dict widget
The hidden input is not correctly aligned with the button of the
.input-group-btn.

Closes #13913
2025-03-10 12:54:56 +01:00
Maxime Richez b1bd50209a Add missing depends on rate and factor to calculate unit price from second unit of blanket line
Closes #13932
2025-03-21 10:50:23 +01:00
Cédric Krier 34686ae187 Do not include record with NULL field in nested negative clause on None
Since 87456218dcc9, record with NULL field is include in nested negative clause
but this should not applied if the operand is or contains None.

Closes #13911
2025-03-09 11:23:43 +01:00
Cédric Krier 13dec41635 Use "Accounting" in the group names
Closes #13907
2025-03-08 09:47:54 +01:00
Cédric Krier 9806aab7f2 Set default value for clean timeout of cache in config 2025-03-04 23:10:52 +01:00
Cédric Krier 881df99a24 Add configuration of select timeout for cache channels 2025-03-04 23:08:13 +01:00
Cédric Krier 723a820494 Query the database after each timeout of the listeners
This permit to keep the connection alive when the database is killing idle
connections.

Closes #13902
2025-03-04 23:00:16 +01:00
Adrià Tarroja Caubet b968ece9a7 Open CSV export file using with newline translation
The csv documentation [1] explains that file object used in writer should be
opened with newline as empty string.

[1] https://docs.python.org/3/library/csv.html

Closes #12115
2025-03-26 18:09:18 +01:00
Cédric Krier 453c79ff15 Store Shopify order ID as web ID 2025-02-27 00:18:07 +01:00
Cédric Krier 5d8a013676 Make web ID on sale unique per web shop
Closes #13891
2025-02-27 00:17:40 +01:00
Cédric Krier cfeb3685f4 Convert empty string to None for match value
It is not possible from the clients to force to store None value instead of
empty string.

Closes #13890
2025-02-26 23:51:39 +01:00
Sergi Almacellas Abellana 4288e9c6b0 Do not set the unit price of the purchased lines from the request to zero
Since 65be15fb7d8a its possible to set empty unit price

Closes #13886
2025-02-24 10:29:45 +01:00
Cédric Krier 0fd308172e Use strict sequence to number account moves
Closes #12603
2025-02-11 12:04:55 +01:00
Cédric Krier 24d89fad16 Add help selection to SII Tax Key 2025-01-26 13:55:58 +01:00
Cédric Krier 38f89a658a Enforce size of invoice XML values for SII service
Closes #13829
2025-03-08 09:54:46 +01:00
Maxime Richez 56956d40e1 Reuse of the secondary unit when crediting an invoice
Closes #13814
2025-01-22 12:32:23 +01:00
Cédric Krier 0059cd28cd Do not use instanceof on value of Date and DateTime of Dict field
Instead we must use the attributes isDate and isDateTime.

Closes #13845
2025-03-10 11:06:00 +01:00
Cédric Krier 8544521766 Raise UserError from the database exception
This adds the traceback of the original exception in the log.

Closes #13912
2025-03-09 16:07:58 +01:00
José Antonio Díaz Miralles 50d6a3a960 Use the same user form view structure in web users. 2025-02-17 22:07:06 +01:00
Cédric Krier 6f62110a6a Add place to inventory line
Closes #13878
2025-02-17 16:31:40 +01:00
Cédric Krier 64788a2e0c Merge list views of inventory line
Since 0b7f2304e207 there is no point to have two list views as the location and
date are in the record name of inventory.
2025-02-17 16:30:58 +01:00
Cédric Krier 29d5fe7316 Simplify the updating of inventory lines for complete
Line instances make it easier and simpler to extend.
2025-02-17 16:11:20 +01:00
Cédric Krier 262a8b894b Add payable/receivable date
The date is the maturity date and if it is empty, fallback to the effective
date.
This gives a better chronology of the lines.
2025-02-14 10:43:15 +01:00
Cédric Krier 93b3d27117 Replace account move number by post number
Closes #13864
2025-02-11 12:50:48 +01:00