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
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
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
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
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
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
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
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
Cédric Krier
9bd8739978
Remove no more needed context on invoice actions
...
Since the domain inversion and 74cad8cf1dbe, it is no more needed to use the
context to set invoice type.
2025-02-11 15:27:00 +01:00
Cédric Krier
1bd33cd0d1
Add common payment terms
...
Closes #13863
2025-02-10 01:33:51 +01:00
Cédric Krier
c3835baa18
Display optional company on payment and group list
2025-02-09 19:38:59 +01:00
Cédric Krier
8fc5d631b9
Add quotation expiration date to purchase
2025-02-07 16:25:03 +01:00
Cédric Krier
ae2609bec6
Manage expiration of sale quotation
...
Closes #11166
2025-02-07 16:24:12 +01:00
Cédric Krier
ebd5a5f414
Set a positive number of col in sale amount group
...
With a negative number of col, tryton does not respect the new line and put all
the element on a single horizontal group.
2025-02-07 16:20:59 +01:00
Cédric Krier
0770f3cf88
Do not fill right aligned label
2025-02-07 16:19:13 +01:00
Cédric Krier
99603fd047
Remove usage of GenericTreeModel
...
Replace on_* method by PyGObject equivalent do_* and use a WeakValueDictionary
to keep the couple id, record used as user-data value on TreeIter.
Closes #13855
2025-02-01 16:32:35 +01:00
Cédric Krier
643006e859
Require PyGObject before 3.51
...
The GenericTreeModel from pygtkcompat has been removed.
#13855
2025-02-01 16:29:52 +01:00
Cédric Krier
424328610a
Add tax identifiers to company
2025-01-30 19:10:23 +01:00
Cédric Krier
993c6dbf26
Make deposit optional on party list
...
Like the receivable and payable today fields.
2025-01-29 18:49:32 +01:00
Cédric Krier
55bd6d327e
Remove or convert company domain into context domain
...
Closes #10506
2025-01-21 13:39:30 +01:00
Cédric Krier
125d413b69
Make company of statement readonly once there is a line
...
The content of the lines depends on the company of the statement, so the user
should not change it once he started to fill the lines.
2025-01-20 20:01:05 +01:00
Cédric Krier
f66aae4d0b
Use statement date to compute the start balance
...
Closes #13827
2025-01-20 19:59:12 +01:00
Cédric Krier
4520ef1527
Scroll to the first selected element in tree view
...
Closes #13344
2025-01-16 16:42:49 +01:00
Cédric Krier
c4b405cef5
Easy extending pattern for sender address of Sendcloud
2025-01-15 00:58:21 +01:00
Cédric Krier
203a5f3a34
Add color as type of icon and image
...
Closes #13808
2025-01-09 18:52:36 +01:00
Cédric Krier
ff6f920521
Return an empty gif as image URL without data
...
<img> must always have a src attribute so using an empty image is more
compliant with the standards.
2025-01-09 18:41:45 +01:00
Cédric Krier
093fb115ff
Add color widget to form view
...
Closes #13800
2025-01-08 16:53:34 +01:00
Cédric Krier
e119120af3
Deactivate open button of One2Many widget if there is no form view
...
Closes #13797
2025-01-06 17:39:48 +01:00
Cédric Krier
27d87ade18
Make analytic entry read only using origin state
...
Closes #11294
2025-01-06 12:21:27 +01:00
Cédric Krier
4f5c54dd40
Return series instead of version for remote call
...
This provides only the required information about the server.
2025-01-03 19:01:08 +01:00
Cédric Krier
1edefbeae5
Limit access to database from the same series as the server
...
The last series to which the database was updated is stored in
ir.configuration.
With this information, the list of databases is filtered for the same series.
Remote access to a database is restricted to databases available in the list.
Closes #13791
2025-01-06 15:54:02 +01:00
Cédric Krier
fadff449e8
Order incoming documents by descending ID
...
It is more natural to have the latest documents on top.
2025-01-03 15:15:57 +01:00
Cédric Krier
d73ab8efa0
Use guilabel to document Shopify access scopes
2025-02-25 18:37:03 +01:00
Cédric Krier
e8be3d21cd
Add required read access to Shopify locations
2025-02-25 17:50:21 +01:00
Cédric Krier
a016a41a1c
Update documentation to labels used by Shopify
2025-02-25 16:59:06 +01:00
Cédric Krier
746448361f
Order alphabetically Admin API access scopes in documentation
...
This follow the order in the Shopify settings.
2025-02-25 16:27:39 +01:00
Cédric Krier
0ec6e5b7cf
Add example of payment term with multiple delta in documentation
2025-02-10 01:40:37 +01:00
Cédric Krier
67d2e13083
Add promotion coupon as action for sale complaint
...
Closes #13790
2025-01-02 17:16:41 +01:00
Cédric Krier
7a7d744c37
Use actual quantity of sale line when executing sale complaint
...
Closes #13783
2024-12-31 15:24:10 +01:00
Cédric Krier
9313409e82
Display quantity when searching lot for stock move
...
Closes #13782
2024-12-26 17:45:26 +01:00
Cédric Krier
efba57bf65
Display quantity when searching location for stock move
...
Closes #13781
2024-12-26 17:33:51 +01:00
Cédric Krier
530471d9a8
Display quantity when searching product for stock move
...
Closes #13780
2024-12-26 17:29:21 +01:00
Cédric Krier
82cf417ae1
Add pack step to test scenario using internal shipment
...
fee9e4e8c864 added this new step.
2025-03-09 17:31:00 +01:00