Commit Graph
105 Commits
Author SHA1 Message Date
Cédric Krier a33d2d879d Move assign_try and pick_product from product.product to stock.move
Fix assign_try to work on all child locations
Use copy in assign_try to be more generic
2009-01-20 01:04:28 +01:00
Cédric Krier dc4f1896f8 Improve test in assign wizards to not call twice assign_try 2009-01-20 01:01:32 +01:00
Cédric Krier 1e5ba32381 Add wizard for assignation on customer packing and internal packing for issue540 2009-01-19 19:20:02 +01:00
Cédric Krier 05cbdfaefd Fix location domain for internal packing 2008-12-10 16:55:51 +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 bf14912072 Fix set_xxx_moves when value is False 2008-12-04 18:34:30 +01:00
Cédric Krier 754b6b6a64 Improve default value for location and handle for outgoing with supplier 2008-12-04 15:41:14 +01:00
Cédric Krier 44d0497ffd Add missing context in call of ir.sequence and copy of modified values 2008-11-25 00:17:40 +01:00
Cédric Krier cfba3e2842 Improve set_{income,outgoing,inventory}_moves when checking moves,
use only one call to browse for all move ids
2008-11-22 01:21:35 +01:00
Cédric Krier 2af065c262 Fix guidelines 2008-11-14 11:12:38 +01:00
Cédric Krier d3004fc112 Use Date on packing out for issue556 2008-11-14 01:14:16 +01:00
Bertrand Chenal 7983747aad Allow to update move from assign to draft. Avoid cancellation accordingly. 2008-11-13 17:19:28 +01:00
Bertrand Chenal 5cbb8667ac Guidelines 2008-11-13 17:03:07 +01:00
Bertrand Chenal 4fb35d0aea Added default_warehouse on packings 2008-11-11 23:31:30 +01:00
Bertrand Chenal 8c399842c3 Use a more standart way of using default on copy 2008-11-06 00:20:26 +01:00
Bertrand Chenal b5ee92da2a Fix: handle copy on in and out packings 2008-11-04 23:32:11 +01:00
Cédric Krier 9694112ddd Use Date for effective_date and planned_date instead of DateTime 2008-11-03 15:42:37 +01:00
Cédric Krier d8151c8dfe Don't set cancel-draft for move that are already in draft in set_state_draft
Because cost_price is computed when canceling a move and set_state_draft is
called by the workflow at the creation of the packing.
2008-10-30 11:30:04 +01:00
Cédric Krier cf2af71e4c Pass context to workflow 2008-10-27 16:43:22 +01:00
Bertrand Chenal ffeca732fb Internal packing: Added readonly on moves dynamicaly to avoid typing error 2008-10-25 15:45:32 +02:00
Bertrand Chenal 9979cc06c6 merge 2008-10-23 17:24:11 +02:00
Bertrand Chenal c9f01d1fc9 Removed set_state_* from move:
* use write to update effective_date
* Added cost price update when move is created with state done.
2008-10-23 17:22:25 +02:00
Cédric Krier 431ca5b03e Rename relationship into party
Use party full_xxx
2008-10-22 20:13:23 +02:00
Bertrand Chenal c87c48b77e Provide backward transitions on packings workflows 2008-10-21 17:02:16 +02:00
Cédric Krier 1ecb890574 Fix typo 2008-10-20 17:58:12 +02:00
Bertrand Chenal 1e30460e29 Added internal packing 2008-10-06 12:20:19 +02:00
Bertrand Chenal c4222369a0 Add assing_try and pick_product on product class and use it in
customer packing
2008-10-06 12:19:50 +02:00
Bertrand Chenal 9056423e4e Added docstring 2008-10-06 12:18:36 +02:00
Bertrand Chenal daf3593aa7 Added currency and price when creating outgoing moves on customer packing:
use defaut list price  on product and company currency.
2008-10-06 12:15:15 +02:00
Bertrand Chenal 9caf9719ca Removed dead code 2008-10-06 12:13:21 +02:00
Cédric Krier aba3074c3f Remove unused quote on domain 2008-09-30 17:11:05 +02:00
Cédric Krier 0da076980a Set supplier required
Add readonly on supplier and warehouse when there is at least on incoming
moves
2008-09-08 19:23:11 +02:00
Bertrand Chenal ae64d8e8a8 Ignore cancelled moves when doing packing 2008-08-26 19:18:56 +02:00
Bertrand Chenal b15204a06c Fix: Decrease outgiong move quantities when they are lesser than the
inventory moves.
2008-08-26 17:23:39 +02:00
Bertrand Chenal 55c11f6622 Move aut-complete on inventory moves from draft state to waiting state 2008-08-26 16:51:33 +02:00
Bertrand Chenal dab51bcbd5 Planned date on outgoing move is now non-readonly when in draft state 2008-08-26 16:12:16 +02:00
Bertrand Chenal 6feba99a8c Auto-complete inventory moves when the packing is created with outgoing moves 2008-08-26 15:51:21 +02:00
Bertrand Chenal 087314ae87 Don't recreate existing outgoing move when making packing 2008-08-26 14:47:15 +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
Cédric Krier 3272f0d49c Change unlink to delete for issue201 2008-07-25 12:49:38 +02:00
Cédric Krier a2dc3abba5 Add readonly for state cancel 2008-07-18 12:41:51 +02:00
Cédric Krier b26ee88a4a Use the new relatorio report format 2008-07-17 21:23:48 +02:00
Cédric Krier 9d59a71032 Use new raise_user_error function 2008-07-17 19:37:38 +02:00
Cédric Krier 449714594e merge 2008-07-10 00:06:36 +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
Bertrand Chenal d2ef559ce5 Added context to compute_qty and compte_price call on uom object 2008-07-09 15:53:50 +02:00
Cédric Krier c9cd70b20e Remove "waiting" state in move
Improve menu order
Fix some guidelines
Add readonly on inventory_move on packing with state done
2008-07-07 15:54:10 +02:00
Cédric Krier b0b88df2c6 Remove select_move wizard and use instead add_remove attributes on one2many 2008-07-07 11:37:38 +02:00
Cédric Krier 5249cc7143 Fix COPYRIGHT 2008-06-23 21:01:22 +02:00