Sergi Almacellas Abellana
dbe81a2def
Check isort and flake on all files
2023-01-11 14:22:37 +01:00
Sergi Almacellas Abellana
9d7dfddb6e
Run isort on all files
2023-01-11 14:42:13 +01:00
Sergi Almacellas Abellana
9ca0f25dba
Add trytond_gis as isort know_first_party
2023-01-11 14:46:23 +01:00
Cédric Krier
fdb8ba3c0c
Simplify workflow rule
2023-01-11 15:53:43 +01:00
Cédric Krier
9ddac9db52
Create next fiscal year using renew wizard in budget scenario
...
Since 4510115eabf7, fiscal year from scenario are centered around the date. So
using the next day after the last day of the previous fiscal year, creates an
overlap.
Closes #12002
2023-01-12 22:35:56 +01:00
Cédric Krier
3e4311eb5e
Do not enforce empty shipment cost method for draft sale
...
As draft sale can be created by other modules, we must put such constraint
when quoting the sale.
Closes #11900
2023-01-03 11:23:03 +01:00
Cédric Krier
f832c45b51
Require a carrier to quote sale with shipment cost method
...
Closes #11985
2023-01-03 11:17:51 +01:00
Cédric Krier
41dc5a6624
Add domain on view of action window view based on action window model
...
Closes #1565
2023-01-08 20:29:30 +01:00
Cédric Krier
83d8ff7547
Fallback to 0 when price list is not setting price ratio of components
...
Closes #11947
2023-01-08 17:51:20 +01:00
Cédric Krier
4cd5308ef3
Use wikipedia link for SQL 92
2023-01-11 13:32:19 +01:00
Sergi Almacellas Abellana
c29200fccb
Fix typo in SII documentation
2023-01-09 14:09:04 +01:00
Cédric Krier
9dea49488c
Do not use class value of Reference field if it is not a ModelStorage
...
When Reference fields store partial reference, the value is the stored string
instead of an instance. So the class of the value is then str which can not be
used for domain validation.
Closes #11954
2023-01-07 20:43:22 +01:00
Cédric Krier
4683fde7ac
Make scenario independent of the current day
...
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.
Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier
2b786d8c44
Add coverage reports
2023-01-08 11:18:56 +01:00
Cédric Krier
62e8201d5a
Add unit test reports
2023-01-08 01:55:20 +01:00
Cédric Krier
5f8b891f62
Increase verbosity of tox
2022-12-28 00:26:31 +01:00
Nicolas Évrard
4326581801
Unconnect signals when removing dict entries
...
Closes #11872
2022-12-26 01:27:36 +01:00
Nicolas Évrard
19f8faa28b
Move save of M2O from _save_values to save()
...
Closes #11381
2023-01-06 17:19:45 +01:00
Cédric Krier
955201d97f
Assign only customer shipment with supplied quantities
...
Closes #11959
2023-01-01 17:08:48 +01:00
Cédric Krier
e745f06e5f
Add more prefixes for humanized number
...
Closes #11918
2022-12-26 13:00:02 +01:00
Nicolas Évrard
2da82e2b94
Accrue and allocate rounding errors when there are multiple taxes
...
Closes #11317
2022-12-25 18:55:17 +01:00
Nicolas Évrard
458f6b0327
Allow rounding with opposite method
2022-12-25 18:54:30 +01:00
Cédric Krier
eddb82a7a1
Remove default value for default lead time
...
Backed out changeset 5cbf7bd159a7
Closes #11971
2022-12-29 16:58:28 +01:00
Cédric Krier
2eb503a855
Optimize pipeline DAG
2023-01-03 22:23:17 +01:00
Cédric Krier
e64d40b3a7
Pre-generate ci for modules
2023-01-03 22:02:01 +01:00
Cédric Krier
836708c5f3
Run check jobs on merge request against default branch
2022-12-31 13:28:13 +01:00
Cédric Krier
01b523ab59
Use rules:changes to decide when running test job
2022-12-31 13:27:37 +01:00
Nicolas Évrard
7cbee84611
Skip on_change_parent on already saved account
...
Closes #11871
2023-01-02 22:00:47 +01:00
Sergi Almacellas Abellana
c2a8b8c953
Clear requests when copying purchase lines
...
Closes #11989
2023-01-04 13:59:46 +01:00
Cédric Krier
debee0cd4d
Remove trailing comma on time_series definition on purchase reporting per supplier
...
Closes #11990
2023-01-04 18:59:24 +01:00
Cédric Krier
67bf3bb30d
Do not join with target table of Many2One for only id clause
...
Also since 1b31be06c525 there is no need to add an active clause as the active
test is disabled by the decorator.
Closes #11841
2022-12-30 14:02:36 +01:00
Cédric Krier
5e8cc5680d
Do not fail trying to grab focus on GooCanvas
...
GooCanvas.Canvas.grab_focus takes a GooCanvasItem which we do not have when
grabbing the focus when destroying NoModal.
Closes #11977
2022-12-31 01:03:37 +01:00
Cédric Krier
ca7acae653
Add index on id and lift
...
It can be used by the database to optimize the search of rules.
Closes #11843
2022-12-30 13:59:04 +01:00
Sergi Almacellas Abellana
670428ab10
Skip blocked payments when creating direct debits
...
Closes #11983
2023-01-02 16:01:13 +01:00
Cédric Krier
4370ef04c0
Document how to trigger the save of container fields
...
Closes #11933
2022-12-24 10:49:14 +01:00
Cédric Krier
4809f55cae
Improve report documentation topic
...
Out dated information are removed, links to demo server are added and a new
section customize existing report from client is added.
Closes #11925
2022-12-25 11:12:14 +01:00
Cédric Krier
a78cc046d6
Add note about configuring CORS for same SAML providers
2022-12-30 13:15:27 +01:00
Cédric Krier
2327f6489c
Remove direct dependency to Werkzeug
...
Closes #11407
2022-12-31 00:05:40 +01:00
Cédric Krier
42b023587e
Cache digits and symbol on the field instance of the client
...
Closes #11825
2022-12-30 23:34:52 +01:00
Cédric Krier
72699d6880
Use Selection field for type of ir.action and add domain
...
Closes #1564
2023-01-01 13:25:17 +01:00
Cédric Krier
5d074f963a
Set write-off as default when paying exact amount of invoice
...
When paying the exact remaining amount of an invoice with different currency,
it should normally be a payment with write-off for exchange rate.
Closes #11821
2022-12-30 23:37:56 +01:00
Cédric Krier
f72502b1ad
Clear tasks at the end of test transaction
...
The tasks list is global per thread. As the tests are run in the same thread,
we must clear remaining tasks that are not run by the test.
Closes #11978
2022-12-31 20:19:20 +01:00
Cédric Krier
466a522966
Support Python version without root_dir argument for glob.glob
...
root_dir argument has been added since Python 3.10
2023-01-01 10:53:24 +01:00
Cédric Krier
83f516f4fe
Retry pulling from the queue when DatabaseOperationalError is raised
...
The Queue.pull method can raise such exception even with an autocommit
transaction because the update query can be in conflict with another same
update query. This is because we use repeatable isolation level.
Closes #11937
2022-12-23 19:47:47 +01:00
Cédric Krier
e76de7cb81
Convert multiselection into selection for screen domain parser
...
When the selection of multiselection fields is a method, it must be converted
into a list like the selection fields.
Closes #11968
2022-12-28 10:41:52 +01:00
Cédric Krier
2da4311287
Add some randomness to avoid concurrent pulling of new tasks
...
This prevents multiple workers to pull the same new task at the same time which
can create concurrency conflict.
Closes #11938
2022-12-23 19:44:09 +01:00
Cédric Krier
0ae1b367eb
Set depends on is_valid_product_for_blanket_agreement
...
Closes #11880
2022-12-26 22:39:40 +01:00
Cédric Krier
16cac27c88
Remove CFLAGS definition
2022-12-26 23:54:26 +01:00
Cédric Krier
f9be31007f
Raise error message with record name and field in check_xml_record
...
Closes #11867
2022-12-26 13:18:22 +01:00
Cédric Krier
f06a03d322
Fallback to full history file if date is not found in the 90 days
...
Closes #11976
2022-12-30 15:59:15 +01:00