Commit Graph
56547 Commits
Author SHA1 Message Date
Cédric Krier 962bdd2c2a Support country organization for tariff code and duty rate
Closes #11838
2022-12-26 15:02:52 +01:00
Cédric Krier 588bd00f93 Define url_size on image of form
Closes #12007
2023-01-15 15:27:54 +01:00
Cédric Krier 6f8a705fbb Set border to avatar images
We use circle for individuals and rounded for group like companies.
2023-01-15 15:16:14 +01:00
Hodei Navarro 8afe6df925 Add border type to images
Closes #11458
2023-01-03 11:17:34 +01:00
Cédric Krier 1df14f932b Factorize explode bom to use depends
Closes #11916
2022-12-26 13:22:06 +01:00
Cédric Krier bd3bbe72e0 Use get_data on SelectionData to retrieve raw data
In Gtk 3.0 there is no more data property.

Closes #11514
2023-01-14 23:44:34 +01:00
Cédric Krier 1cfacecafc Use Gdk.drag_status to set COPY action
In Gtk 3.0 the method is now in Gdk instead of the context.

Closes #11514
2023-01-14 23:42:30 +01:00
Cédric Krier 9936e46e22 Rename reconciliation name to number 2023-01-08 20:10:39 +01:00
Cédric Krier a39d25b354 Pass the grouped instance to the grouping methods
This allows more possibilities to implement grouping methods.
2023-01-14 17:25:39 +01:00
Cédric Krier 5904eabe4a Use correct name for test scenario of sale shipment grouping 2023-01-14 17:11:07 +01:00
Cédric Krier d2664f898d Test shipment grouping with return for #11998 2023-01-14 17:10:40 +01:00
Cédric Krier dd742edc48 Group only with the fields existing on the shipment
Closes #11998
2023-01-14 17:09:52 +01:00
Cédric Krier db729e10c7 Assign supplied outgoing moves instead of inventory moves
If the output location is the same as the storage location, there is no
inventory moves on the outgoing shipment, so the outgoing moves must be
assigned.
If the input location is the same as the storage location, there is neither
inventory moves on the incoming shipment, so the quantity must be computed
based on the incoming moves.

Closes #11972
2022-12-29 18:19:37 +01:00
Cédric Krier 7ed348f085 Call transaction rollback instead of rollbacked
Closes #12010
2023-01-16 11:40:30 +01:00
Sergi Almacellas Abellana 0287507f85 Update parent and replaced_by when template has no taxes
Closes #11891
2023-01-09 14:34:21 +01:00
Cédric Krier 9d402b3807 Set record as modified before calling changed methods
Setting the record as modified clear the info bar but the changed methods
result may add messages to the info bar. So they must be added after the
clearing to let user see them.

Closes #11970
2022-12-29 13:24:06 +01:00
Cédric Krier ad6931ab5c Send record modified only when widget is actually modified
#11970
2022-12-29 13:21:39 +01:00
Cédric Krier 84d80a454f Refresh info bar when record is modified
#11970
2022-12-29 13:20:31 +01:00
Cédric Krier 6bcb3c9868 Do not trigger record message if the current record did not changed
#11970
2022-12-29 13:19:01 +01:00
Cédric Krier dd222215eb Lock table on transaction start
When trying to lock a table, we check if it was locked at the start of the
transaction otherwise we raise a TransactionError so the all transaction is
restarted over with the table added to the table to lock.
This ensures when a table is locked that we always read the last committed
values.

Closes #10870
2022-12-26 15:05:56 +01:00
Cédric Krier 63400adeb3 Add intracom tax amount of credit note to tax code 62 for Belgian accounting 2022-12-23 19:21:56 +01:00
Cédric Krier 5188a2ee51 Add error message to Pool asserts 2023-01-03 18:50:28 +01:00
Cédric Krier bba775dadd Replace model access by __access__ for trigger 2023-01-08 20:43:26 +01:00
Cédric Krier a4cdbeb11f Replace model access by __access__ for module 2023-01-08 20:41:51 +01:00
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