Commit Graph
57 Commits
Author SHA1 Message Date
Cédric Krier dea9fc0157 Make inventory date required and readonly when there is inventory lines 2009-03-09 10:32:05 +01:00
Cédric Krier 1ee6479e07 Use Model for Many2Many 2009-03-05 14:54:19 +01:00
Cédric Krier 97d7c5850d Remove OSV and WizardOSV 2009-02-28 17:04:50 +01:00
Cédric Krier 9ebb557a4b Replace name_get, name_search with get_rec_name and search_rec_name
Return only id for default value of many2one
2009-02-17 11:50:29 +01:00
Cédric Krier fc11c64ae4 Remove LocalService and use ModelWorkflow 2009-02-11 14:56:49 +01:00
Cédric Krier 3134798c84 Fix for new field attributes names 2009-02-03 19:02:22 +01:00
Cédric Krier 71b713bab1 Fix guidelines 2009-01-15 19:05:55 +01:00
Cédric Krier 382e0f18b1 Allow to filter on category and product to complete inventory 2009-01-08 20:07:40 +01:00
Cédric Krier 0875b97e04 Order inventory lines by product name 2009-01-08 20:05:04 +01:00
Cédric Krier 4a1904fb2c Add ondelete CASCADE on inventory lines 2009-01-08 20:04:31 +01:00
Cédric Krier 2d4504c37e Allow to use a list of id for copy method 2008-12-05 13:54:13 +01:00
Cédric Krier d6b3e2f196 Fix complete_lines to set only stockable products 2008-12-05 13:53:30 +01:00
Bertrand Chenal 85f16a956f Guidelines 2008-11-21 14:55:58 +01:00
Bertrand Chenal 30a4314fe8 Added required on inventory field of inventory line and handle it on copy() 2008-11-11 23:39:41 +01:00
Bertrand Chenal 8586da96fe Use only one call to write() for state and date 2008-11-11 23:35:50 +01:00
Bertrand Chenal 992b854acb Added default lost_found on inventory 2008-11-11 23:33:38 +01:00
Bertrand Chenal 726b4e06a0 Don't duplicate moves when duplicationg inventory 2008-11-07 17:09:40 +01:00
Bertrand Chenal e664c00398 Fix arg name 2008-11-06 15:22:51 +01:00
Bertrand Chenal 797d4218c9 Inventory, fixes:
* added missing workflow.
* Fix inventory line duplication
* Preventive call of "compete inventory" when copy-ing
* put and show created moves on inventory lines
* isolate move creation function for easier inheritance
2008-11-04 23:38:48 +01:00
Cédric Krier 2954561f61 Add default value for unit_digits 2008-10-24 23:59:59 +02:00
Cédric Krier ff05959780 Fix error message 2008-10-24 23:59:44 +02:00
Cédric Krier 0654811c5f Call _done and _cancel on create 2008-10-24 23:59:19 +02:00
Cédric Krier a6e086a598 Remove unused code 2008-10-24 23:58:48 +02:00
Cédric Krier de0757bde2 Remove set_state_cancel on move 2008-10-24 23:58:23 +02:00
Cédric Krier c6c3dd85fb Add unit_digits on inventory line to display quantity with the right number of
digits
2008-10-24 13:57:12 +02:00
Cédric Krier 631c42f6f1 Fix default_company 2008-10-24 13:56:29 +02:00
Cédric Krier 1b3c911d00 Fix typo 2008-10-24 13:55:56 +02:00
Cédric Krier cec4edef84 Use ir.date 2008-10-08 12:19:58 +02:00
Bertrand Chenal 22cfa2011d Avoid to generate inventory with negative quantities 2008-10-06 10:30:07 +02:00
Bertrand Chenal 89faf08e20 Removed unused import 2008-08-26 09:16:05 +02:00
Bertrand Chenal 614883fef5 Drop raw_products_by_location usage and definition,
added stock_date_start on keyword of products_by_location,
improved with_child behaviour (clean non-asked locations)
2008-08-25 23:07:00 +02:00
Bertrand Chenal 0df9d5f341 Use browse instead of read 2008-08-22 11:16:10 +02:00
Bertrand Chenal c63bc7d297 Some refectoring: more efficient code and bugfixes 2008-08-20 19:41:32 +02:00
Bertrand Chenal 8de6ce2093 Fix: date must be readonly when an inventory is confirmed 2008-08-20 19:34:42 +02:00
Cédric Krier cd73bc33e9 Set location and company readonly when there is inventory lines 2008-08-04 19:16:01 +02:00
Cédric Krier 3990e1eb71 Change uom on inventory line into field Function
Add domain on product for only stockable product
2008-07-30 23:44:29 +02:00
Cédric Krier 9d59a71032 Use new raise_user_error function 2008-07-17 19:37:38 +02:00
Cédric Krier 4df73b384b merge 2008-07-12 01:27:59 +02:00
Bertrand Chenal e6c6b15a1d Improved stock computation behaviour 2008-07-11 23:20:17 +02:00
Bertrand Chenal c3a1dddec7 Added expected on inventory line, improved inventory update. 2008-07-11 00:28:56 +02:00
Cédric Krier ec1d131783 Improve product quantity compute to use the Modified Preorder Tree Traversal
Fix some guidelines
2008-07-09 18:08:37 +02:00
Cédric Krier 5249cc7143 Fix COPYRIGHT 2008-06-23 21:01:22 +02:00
Bertrand Chenal aac22b0cd2 Guidelines 2008-06-11 20:18:37 +02:00
Bertrand Chenal aa1b93bbd3 Fix: company field is on move not on inventory line 2008-05-26 22:27:13 +02:00
Bertrand Chenal 63a19ab1c1 Adding company field to inventory 2008-05-22 01:58:47 +02:00
Bertrand Chenal 38c860e3b4 Fix inventory completion when all locations are empty 2008-05-22 01:46:15 +02:00
Cédric Krier ecfde6d80b Remove duplicate test 2008-05-21 09:24:48 +02:00
Bertrand Chenal efe20e105c Fix: avoid to create inventory lines with negatove quantity 2008-05-20 19:15:50 +02:00
Cédric Krier 630756c9c1 Add button for complete inventory wizard
Remove cancel wizard and use confirm instead
Put the logical stuff in write function to be more flexible
Prevent duplicate inventory
Add unique constraint by product and inventory
2008-05-14 12:40:27 +02:00
Cédric Krier ad69a73fa3 Add lost and found location for inventories 2008-05-14 11:45:08 +02:00