Commit Graph
88 Commits
Author SHA1 Message Date
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
Bertrand Chenal aac22b0cd2 Guidelines 2008-06-11 20:18:37 +02:00
hartmut@lagan 9d2baa24b7 Compare with None always uses 'is'. 2008-06-11 11:13:04 +02:00
Cédric Krier 13788f78e2 Remove gtk icons 2008-06-06 22:50:40 +02:00
Bertrand Chenal 8976e7d0fe Fix effective_date is always readonly. 2008-06-03 13:27:11 +02:00
Bertrand Chenal 29491748f4 Fixes:
* Use correct child location for assignement.
* Avoid creating empty moves for picking.
* Use correct move field at creation time.
* Return empty list when product qties are missing for a location.
2008-05-26 22:50:21 +02:00
Bertrand Chenal f7ca7ad66c Product picking new features:
* Add consumable product handling.
* Use better names for variables.
* Pass more usefull variable when calling picking function.
2008-05-26 22:46:02 +02:00
Bertrand Chenal d71078e5f3 Fix comment and avoid to sum up empty quantities. 2008-05-26 22:39:31 +02:00
Bertrand Chenal ee0d6ba898 Fix: migrate actions from set_state_draft (unused) to button_draft (its replacmenent). 2008-05-26 22:37:08 +02:00
Bertrand Chenal d7f5ddff74 Fix on outgoing move of customer packing:
Confirm only moves in waiting state.
2008-05-26 22:34:17 +02:00
Bertrand Chenal 940d39ec0c Fix: added missing import of ExceptORM. 2008-05-22 17:26:47 +02:00
Bertrand Chenal 8762d2ce47 Merge 2008-05-22 01:22:12 +02:00
Bertrand Chenal ba2abf2269 Added reference and planned_date to supplier packing. 2008-05-22 01:10:59 +02:00
Cédric Krier 6265e24901 Rename partner into party 2008-05-21 18:14:52 +02:00
Bertrand Chenal 0b34af6284 Merge 2008-05-20 23:00:41 +02:00
Bertrand Chenal e1e5c5e2f5 Added supplier and contact address on supplier packing 2008-05-20 22:28:32 +02:00
Bertrand Chenal a51698af79 Customer Packing: ready state changed to packed state. 2008-05-20 19:21:36 +02:00
Bertrand Chenal 659a9c86fe Improved customer packing:
* Added reference field.
* Added customer field.
* Added delivery checkbox on address object.
2008-05-20 19:20:25 +02:00