Commit Graph
56739 Commits
Author SHA1 Message Date
Cédric Krier 45bbfa8fb5 Add cache to account period find and return instance
Closes #7705
2023-02-10 23:36:18 +01:00
Cédric Krier 54630b81dc Remove unused set_value method from board action
Closes #5046
2023-02-20 17:03:50 +01:00
Cédric Krier f237804858 Add trailing / to URLs of DPD shipping services
Closes #12098
2023-03-07 18:10:25 +01:00
Cédric Krier 251051ad61 Do not alter argument values of with_transaction decorator
Closes #12108
2023-02-26 00:20:09 +01:00
Cédric Krier dd18251497 Use domain for date constraint on period
Instead of always compute the date from the period, we compute the other value
from the changed field.
The start date of the period is used for period in the future and the end date
for period in the past.

Closes #12084
2023-02-14 01:32:04 +01:00
Cédric Krier 5cc5a8f672 Update tox.ini to set py311 and remove py37 2023-03-03 00:17:18 +01:00
Cédric Krier 6457bc5ca1 Add warning when deleting account reconciliation with write-off line
Closes #4685
2023-02-15 23:08:53 +01:00
Cédric Krier 4c38035419 Use format for the warning key when deleting reconciliation with delegated 2023-02-15 23:08:06 +01:00
Cédric Krier 01366719d5 Use generic name for warning exception when deleting account reconciliation 2023-02-15 23:06:35 +01:00
Cédric Krier b38066f87a Add second currency fields to editable account move line list
As these fields may be required if the account has a second currency, they
need to be in the editable list.

Closes #11986
2023-02-15 22:56:22 +01:00
Cédric Krier cf10b1f349 Add packages needed for testing as development requirements 2023-02-14 16:58:48 +01:00
Cédric Krier 606e1cf2d6 Update scenario to use supply on sale as selection since #11955
Closes #12113
2023-02-28 23:45:34 +01:00
Cédric Krier e47f108844 Test page name attribute is an existing field 2023-02-12 12:02:13 +01:00
Cédric Krier 182718a420 Archive emails sent by marketing automation 2023-02-09 18:50:31 +01:00
Cédric Krier 0440145051 Merge notification email logs into email archives 2023-02-09 18:50:05 +01:00
Cédric Krier ffc6f35442 Simplify stock forecast complete wizard
It set the context on the products selection so the user can see the quantity
that will be set. As it is possible to search on this quantity, there is no
more the need to prefill the selection with products having a quantity.
Also there is no need to have two steps for the wizard as the context is
computed dynamically.
2023-02-11 12:40:41 +01:00
Cédric Krier 567b504d4c Add stock invert context to compute quantity 2023-02-11 12:36:49 +01:00
Cédric Krier d2a3a8072c Enforce same type between sale, purchase line and invoice line origin 2023-02-11 19:20:49 +01:00
Cédric Krier 012334d657 Clear fields available only on sale or purchase line of type line 2023-02-11 19:20:03 +01:00
Cédric Krier eb4694b901 Add stock_first option to supply_on_sale
Closes #11955
2023-02-26 10:41:40 +01:00
Cédric Krier d90aeed235 Change supply_on_sale into selection 2022-12-21 23:52:51 +01:00
Cédric Krier 084c74f268 Always sleep before fetching new Stripe events in scenario
Closes #12100
2023-02-17 23:58:19 +01:00
Cédric Krier d000dc17e8 Fetch new Stripe events until being exhausted
#12100
2023-02-17 23:57:45 +01:00
Cédric Krier b16dbdc9c8 Grab focus on icon press
It is needed to trigger the focus out event of other widgets and store the
value.

Closes #7868
2023-02-16 22:18:01 +01:00
Cédric Krier 69a329292a Order FEC lines by posted date first
Closes #7779
2023-02-16 21:01:10 +01:00
Cédric Krier f429332d97 Use right boolean operator in composite domain of searcher
When the clause is negative, it must return an AND-ed domain instead of OR-ed.
2023-02-16 10:39:30 +01:00
Cédric Krier 07e3b97508 Round base amount of commission using price digits
Closes #12018
2023-02-19 11:36:44 +01:00
Cédric Krier 45dd6f213c Support SMALLINT and REAL as backend types 2023-02-21 00:25:38 +01:00
Cédric Krier f912ec5b45 Remove BigInteger field
Closes #6792
2023-02-21 00:25:05 +01:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Nicolas Évrard f5d2b60d08 Synchronize sale_promotion_coupon_payment's tox.ini 2023-01-29 17:44:21 +01:00
Òscar Queraltó Aguilera 8e305c7dc3 Ignore cancelled moves to calculate productions cost
Closes #12093
2023-02-24 12:09:39 +00:00
Cédric Krier 4e3b817b81 Require at least version 0.12 of werkzeug
Closes #12021
2023-02-19 11:23:50 +01:00
Maxime Richez 10466a9936 Prevent deletion of payment terms in use
Closes #12085
2023-02-21 12:55:12 +01:00
Cédric Krier 16883f9579 Enforce same company for account and invoice line in Spanish SII tests
Closes #12062
2023-02-19 21:00:14 +01:00
Cédric Krier 609583221b Retry on database operation error when locking table on transaction start 2023-02-19 22:12:41 +01:00
Cédric Krier 96c0f1ec4d Rollback and clear tasks on database error in transaction of tests 2023-02-19 22:13:35 +01:00
Cédric Krier cb348ca880 Clear tasks when transaction is rollback
The tasks records are removed on rollback so there is no need to try to run
them.
2023-02-19 20:58:01 +01:00
Maxime Richez 2695deb3c5 Add history on party tax identifier
Closes #12095
2023-02-20 16:56:51 +01:00
Adrià Tarroja Caubet 8d90322512 Do not copy production lead times of product
As the BoMs are not copied and the production lead times may have a link to
the product BoM, we should not copy them.

Closes #12104
2023-02-22 09:49:07 +01:00
Cédric Krier 8dc8454449 Manage transaction error in trytond-admin
Since c8771e45b861 TransactionError can be raised and is raised when creating
the ir.configuration singleton (1f462acb3b55).

Close #12087
2023-02-19 01:17:44 +01:00
Cédric Krier ed10d87b40 Test fields_get for GIS fields 2023-02-19 00:19:50 +01:00
Cédric Krier 5759f93f01 Use proper _geometry_type to fill field definition
Closes #12083
2023-02-18 22:50:42 +01:00
Cédric Krier 1c56b9190a Test domain validation for xxx2many fields 2023-02-19 12:15:45 +01:00
Cédric Krier d5d758b59e Format value of xxx2many field with record names in Model.__names__ 2023-02-19 13:25:27 +01:00
Cédric Krier 30d2bcb2a8 Find invalid records of xxx2Many field using intersection
For xxx2Many field, the contain test is not working correctly because the
field value is a tuple of records which is never in the list of invalid
relations.

Closes #12099
2023-02-17 12:56:18 +01:00
Sergi Almacellas Abellana f471e81c11 Set timezone in product cost history scenario 2023-02-22 08:59:58 +01:00
Sergi Almacellas Abellana 08fec3a29e Catch Overflow error when converting datetime to company timestamp
Closes #11999
2023-02-15 14:26:59 +01:00
Nicolas Évrard d6b8e9671b Set the fallback application name when connecting to postgres
Closes #12074
2023-02-20 23:22:39 +01:00