Commit Graph
1412 Commits
Author SHA1 Message Date
Cédric Krier f74df3dabd Add tox and drone
issue4431
2015-01-26 16:50:16 +01:00
Nicolas Évrard 432de41ee2 Report API refactorization
review8831002
2015-01-20 18:49:56 +01:00
Cédric Krier 2ce1f69998 Add default company on period 2015-01-16 16:14:32 +01:00
Cédric Krier 0a4c95ee08 staging move state should fail assignation
issue4462
review13871002
2015-01-09 19:06:36 +01:00
Cédric Krier 1014cf5400 Use price_digits
issue4438
review6791002
2015-01-06 23:31:09 +01:00
Nicolas Évrard c9087d154c Add test for access rights of menu and actions
issue4295
review12661002
2015-01-02 16:08:09 +01:00
Cédric Krier bb7b385146 Add 'staging' state to stock move
issue4362
review5811002
2015-01-02 15:40:11 +01:00
Marius Grigaitis a50b6f21fd Use the last cost_price of the day for cost_value calculation
issue4432
review13831002
2014-12-31 15:27:12 +01:00
Cédric Krier 88053c26bd Apply stock_assign of compute_quantity_query only on outgoing moves
It is too much optimistic to compute incoming assigned moves as done.

issue4384
review10681002
2014-12-11 22:18:32 +01:00
Sergi Almacellas Abellana 5a7b6f4e16 Use cls in classmethods
issue4396
review13771002
2014-12-09 23:33:17 +01:00
Sergi Almacellas Abellana 2112a21113 Add domain on location's parent and childs
issue4279
review9811002
2014-12-05 18:43:36 +01:00
Cédric Krier 994bd8a103 Fix most flake8 errors
review8771002
2014-12-02 12:56:04 +01:00
Robin Baumgartner 486006e8ff Use Null constant from python-sql for comparisons
issue4143
review13701003
2014-11-24 14:03:52 +01:00
Cédric Krier 35e5a4a7a9 Use dualmethod on ModelStorage.save
issue4197
review8671002
2014-11-01 11:54:45 +01:00
Cédric Krier 5b4b6b1558 New API for on_change
issue4203
review8581002
2014-10-29 20:40:25 +01:00
Nicolas Évrard 00505350c5 Do not filter out inactive products from stock computation
issue4240
review12621002
2014-10-24 17:28:53 +02:00
Cédric Krier 2d5badf9be Add some test tools to ease scenario writing
review11331002
2014-10-24 10:45:10 +02:00
Cédric Krier 9e34108f15 Set planned_date by default to today for Incoming Shipment
issue4221
review12601002
2014-10-21 19:06:34 +02:00
Cédric Krier c33fd81118 Increase version number 2014-10-20 15:08:25 +02:00
Cédric Krier 5d2eae6290 Added tag 3.4.0 for changeset 70be46258bf1 2014-10-20 15:08:07 +02:00
Cédric Krier e97ffdfcc5 Prepare release 3.4.0 2014-10-20 15:08:05 +02:00
Cédric Krier 152a017bfd Clean translations 2014-10-19 13:56:23 +02:00
Jordi Esteve 45ba20e395 Update es_ES translation 2014-10-17 19:30:08 +02:00
Albert Cervera i Areny fef577d44a Update Catalan translation 2014-10-17 18:29:45 +02:00
Bruno M. Villasanti a6e8dab388 Update translation for es_AR 2014-10-16 20:01:13 -03:00
Fabián Calle 66961ab2e6 Add es_EC translation 2014-10-16 17:18:04 -05:00
Mathias Behrle d0f0c878a6 Update translation for de_DE 2014-10-16 22:56:16 +02:00
Oscar Alvarez 3072ba2a4a Update es_CO translation 2014-10-16 09:42:32 -05:00
Cédric Krier 7d4ad069e7 Update fr_FR translation
review5691002
2014-10-16 15:53:05 +02:00
Venceslav Vezjak 352ed9e4ab update sl_SI translation 2014-10-16 10:01:49 +02:00
Cédric Krier abc4bd5a96 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:45:58 +02:00
Cédric Krier 91786aa76d Use new doctest setup/teardown
issue3627
review7401002
2014-09-04 08:45:40 +02:00
Cédric Krier 47a2190ede Compute cost price one move at a time
As _update_product_cost_price uses product quantity, this quantity must be
recomputed after each move in case some are for the same products.

issue4039
review11421002
2014-08-29 16:23:10 +02:00
Cédric Krier f04e44c681 The cancellation of move should not compute cost price
because such move can not be done (prevented by _deny_modify_done_cancel).

issue4107
review11421002
2014-08-29 16:21:21 +02:00
Cédric Krier a9e8434711 Use grouped_slice on locations when computing quantity
As location_ids is used by a IN clause in products_by_location, the caller must
be careful about the length of this list.

issue3977
review11411002
2014-08-19 14:38:59 +02:00
Sharoon Thomas e52c5723b6 Fix typo in transition state
issue4119
review11431002
2014-08-11 17:12:07 +05:30
Sergi Almacellas Abellana 6de834b6b8 Use grouped_slice helper.
issue3516
review10301002
2014-07-17 19:00:19 +02:00
Cédric Krier 6088cc5928 Fix values test for check of no move
The check must be performed even if the value of the field is False.

issue4057
review11371002
2014-07-17 14:30:45 +02:00
Sergi Almacellas Abellana 3b7892c15c Make warehouse required on product quantities by warehouse
issue4054
review7421002
2014-07-16 10:54:03 +02:00
Cédric Krier a468a9b995 Fix compute_quantities_query when stock.move has no domain rule
move_rule_query is used with a IN clause so it doesn't work with literal True.
So in case of move_rule_query is empty, the clause should simply be the literal
without IN clause.

issue3999
review11341002
2014-07-09 00:13:47 +02:00
Sergi Almacellas Abellana 38eadbc7e9 Skip zero quantities when prefiling an inventory
issue3976
review6391002
2014-07-03 18:49:59 +02:00
Cédric Krier 1b654c08ce Internal shipment from_location domain should be child_of
Since there is assignation on internal shipment the from_location could be any
children of main location.

issue3994
review13361002
2014-06-22 16:53:15 +02:00
Sergi Almacellas Abellana c0545376c4 Always succeed assignation from lost and found on internal shipments
review9401003
issue3590
2014-05-28 19:52:58 +02:00
Cédric Krier 0ac9fe8bd5 Use correct grouping when adding to warehouse
issue3843
review11281005
2014-05-27 22:22:28 +02:00
Cédric Krier 88935e3612 Fix context test in Product.get_cost_value
issue3868
review6311002
2014-05-27 22:21:36 +02:00
Sergi Almacellas Abellana b5b67b4687 Remove Return Shipment out wizard as it must be managed by the sale wizard
issue3561
review5161002
2014-05-03 11:32:28 +02:00
Cédric Krier 8656de39e0 Increase version number 2014-04-21 21:18:11 +02:00
Cédric Krier d18b978f31 Added tag 3.2.0 for changeset bcb26eaee765 2014-04-21 21:17:36 +02:00
Cédric Krier 133593d350 Prepare release 3.2.0 2014-04-21 21:17:35 +02:00
Cédric Krier 84392dd141 Clean translations 2014-04-20 22:27:28 +02:00