Cédric Krier
25c7937ec2
Replace model access by __access__ for rule
2023-01-08 20:40:59 +01:00
Cédric Krier
a50ef07d61
Replace model access by __access__ for model
2023-01-08 20:39:12 +01:00
Cédric Krier
4457e05282
Replace model access by __access__ for actions
2023-01-08 20:35:28 +01:00
Cédric Krier
c26f73d4b1
Use Gtk.FileChooserNative instead of Gtk.FileChooserDialog
...
It is the recommended and easy way to use the portals for Flatpak.
Closed #11941
2022-12-22 20:06:03 +01:00
Cédric Krier
3f1a866f00
Reuse logger instance and do not format message before logging
...
Closes #11826
2022-12-30 14:05:50 +01:00
Cédric Krier
068feae713
Use Gio.AppInfo.launch_default_for_uri instead of calling xdg-open
...
Also we try first this method instead of using the python webbrowser module.
Closes #11942
2022-12-22 15:12:25 +01:00
Cédric Krier
ce81c8618c
Update translation from default language
...
But keep 'en' as internal language when source comes from the code.
Closes #11882
2022-12-26 22:42:15 +01:00
Cédric Krier
e121edc9ec
Ignore explicitly stock moves for assignation
...
Closes #11945
2022-12-18 15:40:10 +01:00
Nicolas Évrard
51414701ae
Use EXISTS for search on O2M with many records
...
Closes #11934
2022-12-25 18:13:49 +01:00
Nicolas Évrard
4f5c0ae3fa
Remove target_search on Many2One
2022-12-22 02:43:16 +01:00
Nicolas Évrard
3632c51c18
Manage domain on id in single value list as unique
...
Closes #11953
2023-01-02 11:49:34 +01:00
Nicolas Évrard
8d3d4c79ff
Do not validate domain on empty fields unless they're required
2022-12-21 22:29:24 +01:00
Cédric Krier
36dd3f68ae
Check documentation links only when CHECK_LINK is set
2023-01-11 13:44:38 +01:00
Cédric Krier
e47c19d361
Re-order XML record definition
...
The records are grouped per model inside the parent XML file.
Closes #2722
2023-01-10 01:04:55 +01:00
Cédric Krier
67ab4cacc9
Rename XML id of purchase request access for purchase group
...
Closes #2732
2023-01-09 01:07:38 +01:00
Cédric Krier
968fed93ad
Use minimal date as default date for testing currency rate
...
Closes #9977
2023-01-11 01:27:25 +01:00
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