Cédric Krier
abedf2cdfe
Use the same width chars in tryton than in sao
...
This unifies even more the rendering between clients.
2023-01-14 19:53:50 +01:00
Cédric Krier
557acf3e25
Increase default size of main window
...
The average size of screen increases over time.
2023-01-14 19:52:29 +01:00
Cédric Krier
f3b8a9dcd3
Compute history datetime only when invoice has been actually posted
...
Relying only on the numbered_at being filled make the posting process use the
history data once the number has been set on the invoice. But as the move
computation (with the payment term) happens after, they are done using the
history data (which maybe corrupted see #11980 ).
Closes #11982
2023-01-02 13:16:07 +01:00
Cédric Krier
5836fd178c
Do not select first record by default
...
Closes #11814
2022-12-30 23:41:40 +01:00
Cédric Krier
615c6c6260
Do not check documentation nor run test on tag
...
The tag pipeline has CI_COMMIT_SHA filled but changes rules are always true.
Thus the documentation checks and tests are run for all modules.
So the changes rules should be evaluated if CI_COMMIT_TAG is empty.
2023-01-15 21:23:43 +01:00
Cédric Krier
66349b4121
Store warehouse locations on shipments
...
This ensures that the domain based on warehouse location stays valid even if
the warehouse configuration is changed after the creation of the shipment.
Closes #11974
2022-12-30 01:36:00 +01:00
Cédric Krier
26b9f97577
Use & and | as boolean operator in search widget
...
Closes #11962 , #8714
2022-12-27 17:36:16 +01:00
Cédric Krier
3aadada047
Use toggle button and label on translate dialog
...
A toggle button with a label is easier to understand that it should be toggled
to edit.
It is cleaner to only display a fuzzy label than having a column of
checkboxes.
Closes #3125
2023-01-13 00:54:37 +01:00
Cédric Krier
389ad47590
Rename ModelStorage.count into ModelStorage.estimated_count
...
count is too common name for a standard method like #12016 reveals.
2023-01-17 23:01:08 +01:00
Cédric Krier
0b67a61607
Test if count is callable before using it
...
ModelStorage.count has been added in 6.2 but there are existing Model that has
field with this name.
Closes #12016
2023-01-17 22:54:01 +01:00
Cédric Krier
d0dea0efca
Rename check_fifo_quantity_out constraint to check_fifo_quantity
...
Closes #1781
2023-01-09 00:37:15 +01:00
Cédric Krier
182f1ede57
Do not supply stock with user without company
...
Closes #11501
2023-01-15 00:19:15 +01:00
Cédric Krier
ec5f7b8890
Create move for produced product without bom as output
...
Closes #12024
2023-01-19 11:55:09 +01:00
Maxime Richez
77c949aa92
Add more details in tariff code list on product form
...
Closes #11888
2023-01-11 14:32:09 +01:00
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