Commit Graph
909 Commits
Author SHA1 Message Date
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
Cédric Krier 47b3140659 Remove skip_zero on products_by_location in period test 2013-06-24 00:22:52 +02:00
Cédric Krier 77c5845141 Extend Lot Management
Allow to customize move creation of Inventory
Allow to customize unique constraint on Inventory
Allow specific grouping Period Cache
Add grouping on products_by_location and assign_try

review845002
2013-06-21 23:24:17 +02:00
Cédric Krier cc8990d5c5 Add test for date selection when using period in products_by_location
review897003
2013-06-06 20:43:05 +02:00
Cédric Krier 4d8c8968be Fix date selection when using period in products_by_location
effective_date and planned_date could be both NULL so they must be considered
as date.max to be included.

review897003
2013-06-06 20:41:29 +02:00
Giedrius Slavinskas 0931f3d391 Factorize field checks on StockMove write method
review891002
2013-06-05 10:45:18 +03:00
Cédric Krier 0c595ea638 Add effective_date on move list view
review907002
2013-05-28 15:33:10 +02:00
Cédric Krier 947a0f6e9d Add shipment on Move form view
issue2399
review888002
2013-05-27 18:15:02 +02:00
Cédric Krier 1c7db5dd30 Use root to search on period and search on closed periods
products_by_location can be called by users without read access to period.
And only closed period has cache.

review875002
2013-05-22 19:18:43 +02:00
Albert Cervera i Areny f594f23e27 Add missing space in error message.
review751002
2013-04-29 11:24:46 +02:00
Cédric Krier 3c4e6bc9a8 Increase version number 2013-04-22 12:14:25 +02:00
Cédric Krier fd422f4234 Added tag 2.8.0 for changeset 83de8e4076f9 2013-04-22 11:09:36 +02:00
Cédric Krier 926382c900 Prepare release 2.8.0 2013-04-22 11:09:35 +02:00
Cédric Krier c38afca4e9 Clean translations 2013-04-21 17:38:22 +02:00
Bruno M. Villasanti f705ce8ab2 Update translation for es_AR 2013-04-20 01:47:08 -03:00
Bertrand Chenal da2da842e3 Update french translation 2013-04-20 01:09:32 +02:00
Mathias Behrle 3155bd05c0 Update translation for de_DE 2013-04-19 23:49:28 +02:00
jesteve 6413e7afbe Update translation for es_ES 2013-04-19 22:01:22 +02:00
Albert Cervera i Areny e02ce6ef24 Update Catalan translation. 2013-04-19 19:42:44 +02:00
Cédric Krier 4c5c56e618 Internal Shipment should be only between storage locations
review790003
2013-04-18 23:31:18 +02:00
Ilya Melnikov b6fb53ae6a Update ru_RU translation 2013-04-18 19:31:42 +06:00
Cédric Krier 0a66652db2 Sync planned date of supplier shipment only for later
When creating a supplier shipment in draft, we should not change the planned
date for an earlier because it is too optimistic if the shipment is not
directly received.

review797002
2013-04-17 17:28:43 +02:00
Cédric Krier b0ab39804c Include NULL planned_date with datetime.date.max
review790002
2013-04-16 15:31:10 +02:00
Cédric Krier 4cc0484027 Unit price should also be required for move to supplier
review791002
2013-04-16 15:30:21 +02:00
Oscar Alvarez f173eb3595 Translation es_CO updated. 2013-04-12 07:12:30 -05:00
Cédric Krier b5a7415da3 Catch OverflowError in get_quantity when appending timedelta
If date is date.max then appending one day to it will raise an OverflowError.

review761002
2013-04-06 12:33:50 +02:00
Udo Spallek 6b94781290 Add missing Active Record migration.
issue3089
review721005
2013-03-25 20:57:59 +00:00
Cédric Krier c7326c55fb Use reference fields
Merge all shipment Many2One into shipment Reference
Add origin Reference on Stock Move

issue2642
review717002
2013-03-23 15:42:36 +01:00
Cédric Krier 388aed5112 Use forecast for quantity by warehouse to include today moves
review718002
2013-03-21 19:19:52 +01:00
Cédric Krier 65cfc60c14 Remove _inherits
review670002
2013-03-20 22:51:12 +01:00
Cédric Krier 8e1124ef5b Missing move view to separate XML files 2013-03-13 20:01:02 +01:00
Cédric Krier 3feb162b87 Use separate XML files for views 2013-03-13 13:25:00 +01:00
Cédric Krier a30e10bcec Use instance in shipments
review708002
2013-03-12 10:35:12 +01:00