~unifield-team/unifield-wm/us-671-homere

« back to all changes in this revision

Viewing changes to msf_outgoing/__init__.py

[UF-43] fix added noupdate to demo data

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', 'Batch Number is Missing'),
27
 
                              ('missing_date', 'Expiry Date is Missing'),
28
 
                              ('no_lot_needed', 'No Batch Number/Expiry Date Needed'),
29
 
                              ('wrong_lot_type', 'Wrong Batch Number Type'),
30
 
                              ('wrong_lot_type_need_internal', 'Need Expiry Date (Internal) not Batch Number (Standard)'),
31
 
                              ('wrong_lot_type_need_standard', 'Need Batch Number (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
 
                              ('missing_asset', 'Asset is Missing'),
50
 
                              ('no_asset_needed', 'No Asset Needed'),
51
 
                              # assign kit
52
 
                              ('greater_than_available', 'Assigned qty must be smaller or equal to available qty'),
53
 
                              ('greater_than_required', 'Assigned qty must be smaller or equal to required qty'),
54
 
                              # pol dekitting
55
 
                              ('price_must_be_greater_than_0', 'Unit Price must be greater than 0.0'),
56
 
                              # claims
57
 
                              ('missing_src_location', 'Src Location is missing'),
58
 
                              ('not_exist_in_picking', 'Does not exist in selected IN/OUT'),
59
 
                              ]
60
 
 
61
 
import msf_outgoing
62
 
import wizard
63
 
import report
64
 
 
65