Commit Graph
465 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana e779b8107e Add rec_name searcher on reporting models
Closes #11263
2023-01-09 14:49:16 +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 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 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 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 88ba4c7762 Expand address fields on sale and purchase form 2023-01-14 19:55:05 +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 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 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 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
Cédric Krier 1df14f932b Factorize explode bom to use depends
Closes #11916
2022-12-26 13:22:06 +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
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 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 e121edc9ec Ignore explicitly stock moves for assignation
Closes #11945
2022-12-18 15:40:10 +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 9d7dfddb6e Run isort on all files 2023-01-11 14:42:13 +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 83d8ff7547 Fallback to 0 when price list is not setting price ratio of components
Closes #11947
2023-01-08 17:51:20 +01:00
Sergi Almacellas Abellana c29200fccb Fix typo in SII documentation 2023-01-09 14:09:04 +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
Cédric Krier 955201d97f Assign only customer shipment with supplied quantities
Closes #11959
2023-01-01 17:08:48 +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
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