Commit Graph
1005 Commits
Author SHA1 Message Date
Cédric Krier 926af450a7 null merge from 1.0 2014-03-02 21:22:54 +01:00
Mathias Behrle cea5039c3b Get cp_warehouse_id only when it must be available in the context.
issue3688
review3641002
2014-02-19 18:37:21 +01:00
Cédric Krier daa5291801 Allow to use many locations and sum cost value for products by locations
review3291003
2014-02-14 00:16:20 +01:00
Cédric Krier 89ff0f893d Use active_ids in form_relate
Only active_mode, active_id and active_ids can be used on relate domain because
it is the only values which could be sur to be present.
Also it always try to use active_ids over active_id to give more possibilities
to the user.

issue2474
review3261002
2014-02-11 18:11:00 +01:00
Cédric Krier ba81d4bbf0 Fix comment in Mixin, location_ids can be empty 2014-02-06 19:38:25 +01:00
Cédric Krier 7fac623f85 Drop support of Python 2.6
review2691002
2014-01-31 00:04:20 +01:00
Sergi Almacellas Abellana 0fd9f7ebc7 Allow to define the effective date of shipments
issue3579
review2651002
2014-01-30 19:19:49 +01:00
Cédric Krier 634b9ab416 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:37 +01:00
Cédric Krier 412410aa1b Anonymise tests
review2681002
2014-01-16 22:10:53 +01:00
Cédric Krier d0597aab7f Cleanup tests
review2491002
2014-01-12 20:00:12 +01:00
Cédric Krier c11b49fc3b Prevent changing product type if stock move exists
issue3558
review2311003
2013-12-20 14:02:53 +01:00
Cédric Krier 0ba33d88a2 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:45:31 +01:00
Cédric Krier 9da5c5b86b Use common doctest_dropdb
review2151002
2013-12-18 18:32:22 +01:00
Albert Cervera i Areny 4dc7a144e7 Remove dependencies on One2Many fields.
issue3555
review2341002
2013-12-18 01:11:19 +01:00
Guillem Barba 38ab876749 New methods on stock.move to compute quantities more modular
* Split products_by_location into two methods on Move:
  compute_quantities_query and compute_quantities
* Use new methods to compute quantities in StockMixin._search_quantity()

issue3201
review971002
2013-12-17 16:22:36 +01:00
Cédric Krier 8da51a29d5 Missing test on address before using it
issue3531
review2021002
2013-12-12 13:50:05 +01:00
Cédric Krier 97fa01f6da Generalize the modification check for no move
review2001002
2013-12-12 13:05:09 +01:00
Sergi Almacellas Abellana debfe38735 re-allow internal shipment from/to lost and found locations
review2181002
issue3544
2013-12-11 17:36:24 +01:00
Cédric Krier 5046abe5fe Missing moves rename in Inventory.copy 2013-12-01 22:39:26 +01:00
Cédric Krier 2b78c34768 Use origin for inventory move
By using the origin, it is possible to create all the move with one create
call.

issue3512
review1811002
2013-11-28 23:21:45 +01:00
Cédric Krier 35a8bc1141 Allow partial assignation on Supplier Shipment Return
issue3492
review1681002
2013-11-25 12:27:06 +01:00
Cédric Krier c6673c5345 Increase version number 2013-10-21 17:29:54 +02:00
Cédric Krier 50d4712045 Added tag 3.0.0 for changeset 1e2bd2e0ec24 2013-10-21 16:54:22 +02:00
Cédric Krier 8516ff8ecc Prepare release 3.0.0 2013-10-21 16:54:21 +02:00
Cédric Krier f346af477e Clean translations 2013-10-20 20:50:57 +02:00
Bruno M. Villasanti 9f26525c1a Update translation for es_AR. 2013-10-18 19:12:36 -03:00
Jordi Esteve 0401fafe1f Update translation for es_ES 2013-10-18 23:29:41 +02:00
Cédric Krier f774439736 Add Slovenian classifier 2013-10-18 21:50:31 +02:00
Cédric Krier fb23bf63de Update french translation 2013-10-18 21:41:10 +02:00
Mathias Behrle d1cdcb48f4 Updating translation for de_DE. 2013-10-18 21:31:04 +02:00
Albert Cervera i Areny 26a4257910 Update Catalan translation. 2013-10-18 17:01:55 +02:00
Oscar Alvarez 388dd8c9ff Translation es_CO updated 2013-10-17 22:39:38 -05:00
Venceslav Vezjak 542043ba76 Update translation for sl_SI 2013-10-09 22:20:55 +02:00
Cédric Krier 1d6e99e7b7 Fix usage of context company
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.

issue3394
review1119002
2013-10-09 18:25:53 +02:00
Cédric Krier 68eb13ed88 Fix flake8 2013-10-05 12:17:26 +02:00
Cédric Krier 081924b014 Add unittest for infinite loop when setting internal_quantity
issue3332
review1109002
2013-10-03 21:19:25 +02:00
Cédric Krier 4f5c6a4727 Fix infinite loop when setting internal_quantity
There could be difference for Float field between the written value and the
read one. This could lead to an infinite loop of write calls, so we also test
that it is not already writing the same internal value.

issue3332
review1109002
2013-10-03 21:18:46 +02:00
Guillem Barba c74473ecfe Fix domain concatenation between list and tuple
issue3386
review1099002
2013-09-30 17:44:19 +02:00
Venceslav Vezjak a4ac5658c2 Added Slovenian translation
issue3383
review1084002
2013-09-27 10:44:35 +02:00
Cédric Krier 44f4e1c5ff Improve template reports
- Fix deprecation warning for date in format_lang
- Rename packing into shipment
- Merge origins and reference
- Use same concistent field order
2013-09-22 18:21:30 +02:00
Cédric Krier 7d7eb60f75 Fix typo search -> browse in reports 2013-09-22 18:16:40 +02:00
Cédric Krier e38fa24d06 Fix duplicate translations
issue3355
review1087004
2013-09-22 14:35:37 +02:00
Nicolas Évrard 20cb5a0791 Replace reference copying by relate
review932002
2013-09-19 17:34:23 +02:00
Guillem Barba fe08fb891e Remove incorrect staticmethod declaration 2013-09-12 18:12:31 +02:00
Guillem Barba 0096fed655 Add Mixin class with helper to setup stock quantity fields
Add StockMixin class in move.py file with helper functions to be used in getter
and searcher methods of quantity fields.
Reimplemented getter and searcher of quantity/forecast_quantity fields of
Product to use these helper functions.
Add test over product's quantity fields.

issue3279
review963003
2013-09-09 14:11:53 +02:00
Cédric Krier 4f833ee812 Migration to python-sql
review1001002
2013-09-06 22:34:48 +02:00
Nicolas Évrard 9c4fac4db7 Reenact check_period_closed on creation (removed by changeset a4feb97fdf49)
review1041004
2013-08-29 13:24:49 +02:00
Nicolas Évrard 8965437cf8 Do not check for closed period when writing on anglo_saxon_quantity
review928002
2013-08-28 18:23:45 +02:00
Cédric Krier df270e2188 Fix reports for removal of str date in format_lang 2013-06-26 23:15:07 +02:00
Cédric Krier 4e657bfcf1 merge 2013-06-25 19:18:28 +02:00