Commit Graph
59303 Commits
Author SHA1 Message Date
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
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
Julio Alberto Bravo Montanos 22f151fbdc Make product attribute name unique
The name of the attributes are the keys of the attributes Dict field of product
so they must be uniquely identified at least per sets.
But as an attribute can be reused on different sets, the unique constraint must
be set on the name.

Closes #13574
2025-03-16 23:30:23 +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