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
Cédric Krier
97d0c1dc45
Update fiscal year when changing company of a budget
2022-12-30 11:59:28 +01:00
Cédric Krier
447d768cd5
Convert line quantity into product default unit to compare with forecast
...
The forecast quantity on product is always in the default unit. So to make the
same test as on check stock quantity, we need to convert the line quantity
into the default product unit.
Closes #11958
2022-12-29 13:37:12 +01:00
Cédric Krier
1739d5ede3
Remove double definition of __rpc__ for ir.session
...
The second __rpc__ was introduced in 275f29e2379d.
2022-12-28 15:06:45 +01:00
Nicolas Évrard
c1f8fdf664
Do not use default record size limit when it is null
...
Closes #11924
2022-12-29 10:51:47 +01:00
Cédric Krier
c3867c6423
Display the number of selected records on xxx2Many
...
Closes #11813
2022-12-23 19:39:29 +01:00
Sergi Almacellas Abellana
e2cf0863e1
Backed out changeset bea854287e00
2022-12-28 13:17:11 +01:00
Sergi Almacellas Abellana
4247b28119
Add party_communication module
...
Closes #11911
2022-12-28 12:43:57 +01:00
Cédric Krier
fcd4b4f1f0
Allow stock lot to be deactivated
...
Closes #11931
2022-12-25 11:08:04 +01:00
Cédric Krier
468ca93e07
Use match pattern to find journal
...
Closes #11884
2022-12-26 15:08:29 +01:00
Cédric Krier
2f2364672e
Add invoice party and description to invoice line list
...
Closes #11904
2022-12-26 22:21:55 +01:00
Cédric Krier
1267519fbd
Add relate from product to lots
...
Closes #11873
2022-12-26 22:44:14 +01:00
Cédric Krier
f36318178e
Do not use closed account in test tools
...
Closes #11932
2022-12-24 17:49:47 +01:00
Cédric Krier
b5aebfe3d4
Do not copy number of lot with sequence
...
Closes #11593
2022-12-25 11:40:25 +01:00
Cédric Krier
d76c5d0a0e
Cache only http folder of pip
...
The wheels folder is filled with the Tryton packages that come from the
repository. So they can not be cached as they are related to the repository
revision.
2022-12-27 12:52:53 +01:00
Cédric Krier
4959a655eb
Do not allow to activate tests module in configuration wizard
...
Closes #11878
2022-12-26 22:37:07 +01:00
Cédric Krier
98cbb23f58
Improve setup.py
...
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier
802a3752f0
Add cache for tox and npm tests
2022-12-26 19:38:39 +01:00
Cédric Krier
cdd255a736
Avoid concurrency failure in cache test with channel
...
We need to ensure that the listener has finished to clear the cache before
resume the main thread execution.
Closes #11950
2022-12-23 23:57:17 +01:00
Cédric Krier
e61c66f662
Join version directly to compute documentation URL
...
Closes #11940
2022-12-23 14:23:25 +01:00
Cédric Krier
7fd6f71036
Add scalable tryton icon
...
Closes #11943
2022-12-22 10:08:10 +01:00
Nicolas Évrard
2b6801f02c
Use record from group when setting O2M from values
...
Closes #11951
2022-12-23 23:54:21 +01:00
Cédric Krier
132a3ba5b5
Add support for PyPDF2 method for versions: 1, 2 and 3
...
Closes #11961
2022-12-23 17:13:53 +01:00
Cédric Krier
5b3f5cc43c
Support PyPDF2 version 3.0.0
...
PdfFileReader and PdfFileWriter raise a deprecation exception at run time but
the new names have been introduced only in version 2.0.0, 6 months ago.
Closes #11961
2022-12-23 12:52:39 +01:00
Cédric Krier
4e2adb5f0f
Add random description in MyGLS scenario
...
When the scenario is run too much time in parallel, MyGLS API raises an error
for "Same request sent 5 times within last 5 minutes."
Closes #11956
2022-12-22 01:28:24 +01:00
Sergi Almacellas Abellana
06beb3f188
Do not check read access when copying records
...
Closes #11949
2022-12-19 14:38:29 +01:00
Nicolas Évrard
37ebcfc633
Use left part of domain leaf in unique_value return value
...
The left part must be returned because when the value is unique we also use the
name of field for further checks
Closes #11952
2022-12-20 13:37:06 +01:00
Cédric Krier
8e7bd89b29
Replace label by literal in documentation
2022-12-20 14:07:50 +01:00
Cédric Krier
c35e1ad98d
Use modulo on minor version to set latest series for documentation
2022-12-20 12:43:56 +01:00