Commit Graph
1852 Commits
Author SHA1 Message Date
Cédric Krier 25d00ee143 Use explicit list of product types for stock move
issue10225
review361481002
2021-04-03 23:30:21 +02:00
Cédric Krier fd70e3aed3 Add company pattern to multivalue calls
issue10162
review335761002
2021-04-03 14:27:10 +02:00
Cédric Krier cd9c86163b Replace cursor fetchall by iteration over cursor
issue5817
review335831003
2021-03-21 16:09:13 +01:00
Cédric Krier 7a45f6dbee Add product_cost_warehouse module
issue9312
review291641002
2021-03-21 15:49:07 +01:00
Cédric Krier f0d5d5b117 Add stock_quantity_issue module
issue9944
review339291003
2021-03-21 12:52:58 +01:00
Cédric Krier 3ea837b821 Remove tree structure from company
issue10163
review332181002
2021-03-18 23:04:18 +01:00
Cédric Krier c2dc79ba80 Remove unused imported PoolMeta 2021-03-12 17:26:31 +01:00
Cédric Krier 09e01347fa Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier 86b37cde7e Add parent to group to inherit accesses
issue10032
review320661002
2021-03-07 12:43:09 +01:00
Cédric Krier 8550e36af2 Add __access__ to Model
issue9903
review324601002
2021-03-07 11:13:53 +01:00
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