Commit Graph
1823 Commits
Author SHA1 Message Date
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
Cédric Krier 61f8d6629b Use query clause when searching quantity for 1 location
We can use the compute quantities query if the request is for a single location
because all the locations are children and so we can do a SUM.

issue9594
review323991002
2020-09-27 18:20:34 +02:00
Cédric Krier 62a3cfdbcb Update tests for new report name scheme
issue9509
2020-09-24 18:28:45 +02:00
Sergi Almacellas Abellana 29ef8deca7 Use simplified view for moves list on shipments
issue9459
review290501002
2020-08-14 14:20:42 +02:00
Cédric Krier a7affa630b Do not enforce uom category on done or cancelled move
The user can no more fix such move so we should not fail if the validation is
triggered by the update of another field.

issue9503
review319761002
2020-08-12 22:02:26 +02:00
Sergi Almacellas Abellana ee95ce1b3d Add move relate on product
issue9411
review291951002
2020-08-12 14:33:14 +02:00
Sergi Almacellas Abellana 45665750cd Only try to assign non assigned moves
issue9206
review311191005
2020-08-12 14:28:23 +02:00
Cédric Krier acc3db8f60 Use original cost price for returned move
and factorize the cost price of move for cost computation

issue9440
review327491003
2020-08-10 23:38:04 +02:00
Cédric Krier ab81afbe99 Fill grouping values when assigning move
issue9480
review303951082
2020-08-10 23:30:14 +02:00
Cédric Krier f6eb3790f3 Use a single assign wizard
issue9422
review299961011
2020-07-25 08:19:31 +02:00
Cédric Krier 0915d89979 Add test on assign_try with unsaved move
We allow to pass unsaved move as parameters for the assignation search while
keeping the original values on the possible remaining moves.

issue9431
review300001002
2020-07-13 21:07:27 +02:00
David Harper 410165a333 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:07 +01:00
Cédric Krier fa3aee5d5f Normalize wizard message views
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.

issue9429
review301831002
2020-07-09 00:21:48 +02:00
Cédric Krier 1cf17ecf7e Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Cédric Krier 671e1b2599 Enforce unit price on drop and customer return moves
Those values are interesting information for reporting or to compare with the
cost price.

issue9402
review327421002
2020-07-04 23:49:25 +02:00
Cédric Krier cd8fd31d0b Add moves for product quantities by warehouse
We add a new model based on stock move that compute the cumulative quantity for
each incoming or outgoing move.
The product quantities by warehouse is refined to only get row at the date the
quantity actually change.
We also add company and access rules for both models.
On back-end without window function, the cumulative quantity is the initial
quantity of the day.

issue9389
review297881002
2020-07-04 23:46:35 +02:00
Cédric Krier 8586ea73fa Add unit_price_company Function field on stock move
issue9401
review290341002
2020-07-04 00:21:39 +02:00
Cédric Krier 542fae7fc0 Enforce filling cost price of move
We set cost price only for outgoing or incoming moves.

issue9397
review321611002
2020-07-03 21:22:43 +02:00
Sergi Almacellas Abellana b0cd64e7ca Set moves planned dates when updating internal shipment planned date
issue9334
review299681002
2020-06-17 14:09:55 +02:00
David Harper 51b4786235 Rename move state from cancel to cancelled
issue8927
review297851002
2020-06-06 10:30:11 +01:00