1
# -*- coding: utf-8 -*-
2
##############################################################################
4
# OpenERP, Open Source Management Solution
5
# Copyright (C) 2011 MSF, TeMPO Consulting
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.
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.
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/>.
20
##############################################################################
22
INTEGRITY_STATUS_SELECTION = [('empty', ''),
24
('negative', 'Negative Value'),
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'),
34
('return_qty_too_much', 'Too much quantity selected'),
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'),
41
('missing_weight', 'Weight is Missing'),
43
('too_many_packs', 'Too many packs selected'),
44
# return from shipment
45
('seq_out_of_range', 'Selected Sequence is out of range'),
47
('not_available', 'Not Available'),
48
('must_be_greater_than_0', 'Quantity must be greater than 0.0.'),
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.'),
53
('price_must_be_greater_than_0', 'Unit Price must be greater than 0.0.'),