Commit Graph
1842 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana ceefdeb72f Manage staging moves on shipment workflow
Staging moves are automatically assigned when purchased so
we should remove them when packing a shipment as they are
not part of the shipment.

We also skip moves with zero quantity because they will
always succeed.

issue9448
review313951002
2021-03-06 19:19:53 +01:00
Sergi Almacellas Abellana 9e6e245f02 Test date in the future after setting effective date
issue10134
review347721002
2021-03-06 19:07:48 +01:00
Cédric Krier b8a8b9ebf0 Add test on context of company multivalue target fields
issue10067
review333851026
2021-03-05 15:49:20 +01:00
Cédric Krier b7cc5a1790 Follow common rule to organize menu entries
issue10118
review347611002
2021-02-27 18:16:29 +01:00
Cédric Krier 915b592a8a Prevent IN clause with empty list
issue10074
2021-02-27 17:50:02 +01:00
Cédric Krier f783dd6917 Show quantities by warehouse for many products
and add relate from assigned shipment to products quantities by warehouse

issue10074
review316831002
2021-02-27 17:15:00 +01:00
Sergi Almacellas Abellana e297db950c Add header grouping on shipment report
issue10133
review343751002
2021-02-26 09:15:14 +01:00
Cédric Krier ccfec0345d Default to ordering documents by date
issue10079
review339831002
2021-02-25 21:13:56 +01:00
Sergi Almacellas Abellana 8307d6511f Make outgoing moves editable for same storage and output zone
issue9960
review347401002
2021-02-15 13:59:13 +01:00
Dimitrios Josef Moustos e663496637 Add delivery usage to contact mechanism
issue9991
review320581002
2021-02-13 22:10:53 +01:00
Cédric Krier 9609f85770 Use menu name for window opened from menu
issue9937
review315011002
2021-02-09 00:32:18 +01:00
David Harper 03b842452a Improve documentation
issue9681
review302311002
2021-02-06 10:51:53 +00:00
Cédric Krier a5d07f7298 Update unit price after invoice posted and move done
issue9962
review292991002
2021-02-03 21:21:03 +01:00
Cédric Krier 711f06a1e5 Remove duplicate address tree inherit file 2021-01-21 22:19:17 +01:00
Cédric Krier acfcbff597 Add margin reporting
issue9665
review292371002
2021-01-17 00:57:09 +01:00
Cédric Krier 582c2b57f0 Remove assert on date different from date_start
The assert introduced in rev fd2a67c576f3 is wrong because it can happen that
two dates are consecutive of 1 day.

issue9942
review339541002
2021-01-17 00:43:31 +01:00
Cédric Krier 7e6831e831 Add unit and digits to location quantities
issue9876
review333251002
2021-01-17 00:41:23 +01:00
Cédric Krier 25906f28ff Prevent ValueError when from location is a view
If the from location is a view, it may not be in the childs list.

issue9896
review316751002
2021-01-08 22:57:47 +01:00
Cédric Krier 5006ce2bac Use cache to fill Reference selections
issue9235
review335301003
2020-12-27 00:19:30 +01:00
Cédric Krier f0ded2f87e Use dedicated model for products and lots by locations
issue9874
review314911002
2020-12-23 21:55:13 +01:00
Cédric Krier fc5b4497ea Ensure dates are unique
When computing the quantity with delta, we must ensure that the start and end
dates are always different otherwise the delta quantity is always zero for
duplicated days (like today).

issue9942
review343181002
2020-12-23 21:30:49 +01:00
Cédric Krier 26f1a86990 Add support for Python 3.9
issue9685
2020-12-19 17:08:47 +01:00
David Harper 4a5c85b9da Test long_description using twine check
issue9781
review337181002
2020-12-15 11:42:57 +00:00
Cédric Krier 18b2defc92 Manage local version in tox and do not set local_version when no CI
issue9928
2020-12-11 13:51:53 +01:00
Cédric Krier bdb1604d81 Add support for local_version on trydevpi.tryton.org
issue9928
2020-12-10 23:05:57 +01:00
Cédric Krier 649968db2a Add generic test for check erase party
issue9895
review324571002
2020-12-05 11:53:49 +01:00
Cédric Krier f7f5d9cf25 Add digits to cost value of location
issue9877
review320451002
2020-12-05 11:51:29 +01:00
Cédric Krier 4db233a90d Keep the original context when opening Product Quantities by Warehouse
The PYSON context only works when it is evaluated from keyword action.
When it is evaluated as the result of a wizard, there is no more any active*
keys in the context. So we must not change the context as we already have the
right inherited one from the view.

issue9884
review324561002
2020-12-04 18:39:12 +01:00
Cédric Krier af63a06eff Add missing inventory to depends of inventory_state
It is needed to have the inventory field to correctly compute the
inventory_state value.

issue9820
review300911002
2020-11-23 23:36:02 +01:00
Cédric Krier adf0f0f4b1 Increase version number 2020-11-02 16:13:21 +01:00
Cédric Krier 1bbf1a737c Add tag 5.8.0 [skip ci] 2020-11-02 16:13:06 +01:00
Cédric Krier 2ba495769e Prepare release 5.8.0 [skip ci] 2020-11-02 16:13:06 +01:00
Cédric Krier c7c7d1f3be Update translations [skip ci] 2020-10-31 12:14:32 +01:00
Maxime Richez 6bc5f2dfa3 Delete outgoing_moves with zero quantity on packing customer shipment
issue9737
review316291002
2020-10-27 21:13:58 +01:00
Cédric Krier b32cb04a10 Do not set page break on Relatorio paragraph
As Relatorio remove the paragraph, we need to add an small empty line to keep
the page break on the result.

issue9514
review329341002
2020-10-27 21:12:51 +01:00
Cédric Krier 33c51034a6 Rework inventory line form to make space for lot
issue9704
review312691002
2020-10-26 21:29:52 +01:00
Cédric Krier 43340c514f Remove support for Python 3.5
issue9733
2020-10-24 13:45:12 +02:00
Maxime Richez da396b4223 Do not assign on pick and do not synchronize on pack
Assigning on pick prevents to edit the outgoing moves.
Synchronize on pack could undo user modification of outgoing moves.

issue9725
review304481002
2020-10-21 23:48:57 +02:00
Cédric Krier 0c896a46ab Convert read column into proper type with SQLite
As SQLite has few basic types, we must use column names cast parsing to ensure
to read values in proper type.

issue9652
review310801004
2020-10-21 23:11:13 +02:00
Adrián Bernardi 3692a95568 Test template type in Modify Cost Price wizard
When the model is product.template, it is the template type
that must be tested.

issue9639
review292321002
2020-10-19 00:17:20 +02:00
Cédric Krier 2179d3bcf9 Ignore flake8 E741 2020-10-16 19:19:58 +02:00
Maxime Richez c09fb12c43 Add picked step to customer shipment workflow
issue9634
review329071002
2020-10-12 23:19:54 +02:00
Cédric Krier b035935cef Manage move in future at inventory level
As the inventory creates and do the moves in the same transaction, the warning
about effective date in future can not be ignored (the ids change).
Also the warning name should be based on an ordered list of record to ensure to
generate always the same name.

issue9707
review328441002
2020-10-12 20:31:27 +02:00
Sergi Almacellas Abellana 7eca5377da Add cron task to reschedule past shipments
issue9264
review325191002
2020-10-12 19:20:33 +02:00
David Harper 7d52aa08e9 Use Pack as the label for the shipment pack button
issue9690
review292401002
2020-10-12 09:42:48 +01:00
Sergi Almacellas Abellana 95b4dae623 Allow lost and found on inventory moves
issue9156
review323431002
2020-10-11 23:46:10 +02:00
Cédric Krier ba1265a067 Add relates for lots
- relate from lot to locations quantity
- relate from product/template to lots by warehouse

issue9504
review298351002
2020-10-11 16:05:16 +02:00
Cédric Krier 9ba863637d Add symbol widget
issue9059
review276871002
2020-10-09 19:09:06 +02:00
Sergi Almacellas Abellana 90f34e0f37 Prevent doing moves in the future
issue9355
review327351002
2020-10-04 23:57:37 +02:00
Cédric Krier c539c5c42b Add relate to open inventory lines
issue9563
review290881002
2020-10-03 23:47:19 +02:00