Commit Graph
1421 Commits
Author SHA1 Message Date
David Harper 1375ef074e change Ok to OK
issue4290
review14081002
2015-03-10 18:37:44 +01:00
Cédric Krier 6b8ce20a28 Fail assign_try if the remaining quantity is the rounding precision
issue4609
2015-03-09 20:44:21 +01:00
Cédric Krier 8620922243 Remove safe_eval
We convert all the fields that were storing python code into PYSON.
We add a pyson attribute on field tag to store PYSON value.

issue4416
review6971002
2015-03-09 19:42:16 +01:00
Cédric Krier d0684dab96 Test Move assign_try
review13051002
2015-03-09 19:37:01 +01:00
Cédric Krier 08ebed3b28 Round written quantity in assign_try
issue4609
review13051002
2015-03-09 19:36:31 +01:00
Cédric Krier d3e525c965 Remove old TODO 2015-03-05 23:29:37 +01:00
Cédric Krier fd92d8841c Synchronise outgoing move with inventory on assignation
We must try to create new moves as soon as possible to allow the check origin
warning to work correctly with committed id.

issue4082
review5971002
2015-02-14 18:42:49 +01:00
Cédric Krier a0e23f6faa Remove AS in GROUP BY of compute quantity query
It is not allowed to use alias output in the GROUP BY clause.

issue4495
review11811002
2015-01-27 22:59:44 +01:00
Cédric Krier c94613e05c Add check for default model access
When group access exists, a default model access should be defined otherwise
all access are given to non group users.

issue4485
review5941002
2015-01-27 18:14:09 +01:00
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