~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to msf_outgoing/__init__.py

  • Committer: jf
  • Date: 2012-06-13 12:43:21 UTC
  • mfrom: (827.5.11 uf-635)
  • Revision ID: jf@tempo4-20120613124321-2b8cwgl86gyy2tb7
UF-635 [DEV] Documents workflow: Graphic representation
lp:~unifield-team/unifield-wm/uf-635 revno 838

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    OpenERP, Open Source Management Solution
 
5
#    Copyright (C) 2011 MSF, TeMPO Consulting
 
6
#
 
7
#    This program is free software: you can redistribute it and/or modify
 
8
#    it under the terms of the GNU Affero General Public License as
 
9
#    published by the Free Software Foundation, either version 3 of the
 
10
#    License, or (at your option) any later version.
 
11
#
 
12
#    This program is distributed in the hope that it will be useful,
 
13
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
#    GNU Affero General Public License for more details.
 
16
#
 
17
#    You should have received a copy of the GNU Affero General Public License
 
18
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
#
 
20
##############################################################################
 
21
 
 
22
INTEGRITY_STATUS_SELECTION = [('empty', ''),
 
23
                              ('ok', 'Ok'),
 
24
                              ('negative', 'Negative Value'),
 
25
                              # picking
 
26
                              ('missing_lot', 'Production Lot is Missing'),
 
27
                              ('missing_date', 'Expiry Date is Missing'),
 
28
                              ('no_lot_needed', 'No Production Lot/Expiry Date Needed'),
 
29
                              ('wrong_lot_type', 'Wrong Production Lot Type'),
 
30
                              ('wrong_lot_type_need_internal', 'Need Expiry Date (Internal) not Production Lot (Standard)'),
 
31
                              ('wrong_lot_type_need_standard', 'Need Production Lot (Standard) not Expiry Date (Internal)'),
 
32
                              ('empty_picking', 'Empty Picking Ticket'),
 
33
                              # return ppl
 
34
                              ('return_qty_too_much', 'Too much quantity selected'),
 
35
                              # ppl1
 
36
                              ('missing_1', 'The first sequence must start with 1'),
 
37
                              ('to_smaller_than_from', 'To value must be greater or equal to From value'),
 
38
                              ('overlap', 'The sequence overlaps previous one'),
 
39
                              ('gap', 'A gap exist in the sequence'),
 
40
                              # ppl2
 
41
                              ('missing_weight', 'Weight is Missing'),
 
42
                              # create shipment
 
43
                              ('too_many_packs', 'Too many packs selected'),
 
44
                              # return from shipment
 
45
                              ('seq_out_of_range', 'Selected Sequence is out of range'),
 
46
                              # substitute kit
 
47
                              ('not_available', 'Not Available'),
 
48
                              ('must_be_greater_than_0', 'Quantity must be greater than 0.0.'),
 
49
                              # assign kit
 
50
                              ('greater_than_available', 'Assigned qty must be smaller or equal to available qty.'),
 
51
                              ('greater_than_required', 'Assigned qty must be smaller or equal to required qty.'),
 
52
                              # pol dekitting
 
53
                              ('price_must_be_greater_than_0', 'Unit Price must be greater than 0.0.'),
 
54
                              ]
 
55
 
 
56
import msf_outgoing
 
57
import wizard
 
58
import report
 
59
 
 
60