Commit Graph
56587 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 07d8b81c1b Add access rules for weekly and monthly reporting
Closes #11944
2023-01-09 15:03:49 +01:00
Sergi Almacellas Abellana 0d2a594fb0 Remove employee from employee hours rule 2023-01-09 15:03:45 +01:00
Cédric Krier 7fba550c13 Update cookiecutter url in module tutorial 2023-01-23 12:57:53 +01:00
Sergi Almacellas Abellana e779b8107e Add rec_name searcher on reporting models
Closes #11263
2023-01-09 14:49:16 +01:00
Cédric Krier e072f4bc9e Fix source clause of empty translation source introduced by 4ec2377b84e5 2023-01-25 09:41:24 +01:00
Cédric Krier b0b4ff7592 Notify when product is supplied on sale and has purchase order point
Closes #11969
2022-12-29 13:05:20 +01:00
Cédric Krier e7b8a145f0 Add reference in record name of sale opportunity
Closes #3641
2023-01-21 20:35:15 +01:00
Cédric Krier 69a1be6404 Assign all possible shipments and productions when trying
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.

Closes #7006
2023-01-14 15:41:26 +01:00
Cédric Krier d62f2acb08 Instantiate always Screen for xxx2Many fields with the same parameters
The screen must be instantiated with the context of the parent screen so
eventual field_view_get would give the same result.
The limit must always be set to None/null to ensure to load all the records.
The breadcrumb must be set to show navigation to the user.

Closes #3140
2023-01-21 19:37:19 +01:00
Cédric Krier aa5885ff6f Make product supplier price list editable
Closes #3618
2023-01-21 20:23:51 +01:00
Cédric Krier bb8dc2961b Put sequence on top right of the form for product supplier price 2023-01-21 20:22:59 +01:00
Cédric Krier 5d82f65fd8 Add generic test for field function searcher and domain field method 2023-01-11 12:29:25 +01:00
Cédric Krier 704aaf01de Support None as search value of composite rec_name 2023-01-12 11:36:41 +01:00
Cédric Krier cad8cad4ef Do not convert into float search amount of invoice if it is None 2023-01-12 11:36:01 +01:00
Cédric Krier cab1cf2f87 Add help text about price selection of product
Closes #8950
2023-01-08 18:12:49 +01:00
Cédric Krier 0da84b21a3 Allow children location as source of outgoing moves for customer shipment
When the output location is the same as the storage location, we should allow
to record that products have been picked in a children location.

Closes #11973
2022-12-29 19:07:56 +01:00
Cédric Krier 25b83527a0 Do not try to fuzzy update empty source of translation
Closes #11881
2022-12-26 22:28:04 +01:00
Cédric Krier 8e51294514 Rewrite read/write error messages to be independent on time
id may not exist not only because it was deleted. They may never exist or the
action happen in the past.

Closes #3825
2023-01-21 23:52:55 +01:00
Cédric Krier 746d1d840a Add cookiecutter template for module 2023-01-11 19:01:37 +01:00
Cédric Krier 1ca173894b Use standard functools.wraps instead of wrapt 2023-01-14 11:43:51 +01:00
Cédric Krier 7dd21444bb Add check if RNG files are up to date 2023-01-15 11:42:01 +01:00
Cédric Krier ea481922c9 Pass wizard config when converting action in proteus 2023-01-17 14:40:43 +01:00
Cédric Krier 5c622e69d8 Use direct downloads.tryton.org instead of CDN 2023-01-16 15:07:08 +01:00
Maxime Richez f653dc7b6d Apply check_stock_quantity per warehouse line 2023-01-09 16:13:22 +01:00
Cédric Krier 82b10ce017 Fix typo when calling get_state_attrs introduced by a151a379886f 2023-01-21 19:39:55 +01:00
Cédric Krier 88ba4c7762 Expand address fields on sale and purchase form 2023-01-14 19:55:05 +01:00
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