Commit Graph
146 Commits
Author SHA1 Message Date
Cédric Krier 4cc0484027 Unit price should also be required for move to supplier
review791002
2013-04-16 15:30:21 +02: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 65cfc60c14 Remove _inherits
review670002
2013-03-20 22:51:12 +01:00
Albert Cervera i Areny e1540c219a Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:56:01 +01:00
Cédric Krier fd91db0948 Fix average cost price computation
context locations should be list of ids and not instances

issue3037
review703002
2013-03-06 13:08:21 +01:00
Cédric Krier a81cd74495 Fix flake8 2013-02-24 16:18:17 +01:00
Ian Wilson bd452b96c2 Use execute instead of write to bypass domain checks during migration.
Use execute instead of write to bypass domain checks on product when migrating
from 1.8 to 2.6. There is a circular dependency between the
stock module and the product module if migrating from 1.8.

issue3005
review673002
2013-02-15 13:41:59 -08:00
Albert Cervera i Areny 37b61a3e90 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 75bbef0077 Use Workflow for Stock Move
review600002
2012-12-27 21:53:07 +01:00
Cédric Krier c5f83d3810 Active Record 2012-09-24 22:18:17 +02:00
Cédric Krier 7e9b043113 Use the right quantity when updating the cost_price
review462002
2012-08-16 16:04:01 +02:00
Cédric Krier bd7f66d7db Fix pep8 and pyflakes 2012-04-03 20:07:43 +02:00
Cédric Krier a3485b82c4 Add missing initialisation of unit_price in on_change_product 2012-03-28 09:37:46 +02:00
Cédric Krier 1532f220ee Set unit_price via on_change for every cases it is required
review304003
2012-03-27 13:58:37 +02:00
Cédric Krier bde2ff9edb merge 2012-03-27 10:45:11 +02:00
Cédric Krier 791735b65d Replace wrong usage of False by None
issue2512
2012-03-27 10:44:04 +02:00
Cédric Krier 3a7777aa98 Missing default_unit_digits on move 2012-03-26 14:42:50 +02:00
Cédric Krier 21e0247eef Remove special to_location_warehouse search clause 2012-03-26 14:41:47 +02:00
Cédric Krier 26f9a7660e Use domain for shipment moves instead of context
issue2255
review293001
2012-03-25 18:24:34 +02:00
Cédric Krier 2c52d02b3a Add support for production location in cost price computation
review298001
2012-03-25 15:45:34 +02:00
Cédric Krier 71744d1e76 Remove special uom search clause
review295003
2012-03-25 15:39:36 +02:00
Cédric Krier ee6e3abccc New product types: Goods, Assets and Service
review260001
2012-03-16 12:42:00 +01:00
Mathias Behrle 6cbeee4fa3 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:08 +01:00
Cédric Krier df77ba6b30 Update cost_price only from supplier to storage also on creation 2012-02-24 11:45:54 +01:00
Cédric Krier 70536f81b9 Use default values when updating cost price on creation 2012-02-24 11:22:32 +01:00
Cédric Krier c0d32c5df5 Update cost_price only from supplier to storage
review163006
2011-11-04 17:20:34 +01:00
Nicolas Évrard f6b35baa82 fix pyflake errors
review164008
2011-11-02 16:13:35 +01:00
Cédric Krier 687e6e9dee Fix wrong required state on Move.currency 2011-10-18 09:57:45 +02:00
Nicolas Évrard 34128ae360 Add company to Shipments
codereview74004
issue2078
2011-10-04 18:17:41 +02:00
Cédric Krier 9703a67226 Ensure coherence between planned date of shipments and moves
review121001
2011-09-29 12:03:58 +02:00
Cédric Krier 183a3e7bbf Add test for depends 2011-08-04 16:57:42 +02:00
Cédric Krier c4fc2a95ba Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:18:06 +02:00
Cédric Krier 8eeb3c949f Change Pool into a Singleton 2011-07-03 13:19:14 +02:00
Cédric Krier 174a0b5c71 Add missing _order_name on Move 2011-06-15 11:41:28 +02:00
Mathias Behrle 8c35a1d847 Use effective_date to calculate currency rate for issue1746. 2011-04-13 18:11:14 +02:00
Cédric Krier 0dcc364508 Force effective_date only if not defined 2011-04-13 11:19:05 +02:00
Cédric Krier 82534cf54e Improve stock quantity computation with internal_quantity and periods 2011-04-09 12:39:31 +02:00
Cédric Krier 56fe7b6fb7 Prevent modification of assigned, done, cancel move for issue1820 2011-03-28 12:47:52 +02:00
Cédric Krier e74c82ecb9 Remove duplicate import of In for issue1831 2011-01-23 00:13:56 +01:00
Cédric Krier cd62ea725f Update for new Transaction 2010-08-19 22:22:44 +02:00
Cédric Krier c2c47b2ea2 Round cost price before writing for issue1523 2010-04-27 00:03:22 +02:00
Mathias Behrle a6e0b3d4a4 Fix call for on_change* for issue1509. 2010-04-11 20:26:46 +02:00
Cédric Krier 63e9d972d6 searcher on Function fields take only one domain clause as argument 2010-03-23 11:23:08 +01:00
Cédric Krier 79af1dc9b4 Remove ids from on_change* calls 2010-03-18 18:15:51 +01:00
Cédric Krier 6c2908774a New interface for Function/Property fields 2010-03-11 16:54:32 +01:00
Cédric Krier db670a76f2 Replace has_lock cursor function with lock 2010-02-25 16:44:09 +01:00
Cédric Krier b0ffad195c Add default search value on inventory, move and shipments 2010-01-23 11:47:04 +01:00
Cédric Krier 010ed7e49d merge 2010-01-20 11:14:52 +01:00
Cédric Krier bfab410ce8 Use PySON 2010-01-20 11:04:28 +01:00
Cédric Krier f72ac0a539 Fix test on to_location_warehouse for XML-RPC for issue1380
Tuple in XML-RPC are list
2010-01-19 14:12:13 +01:00