~deneroteam/openerp-rma/openerp-rma

« back to all changes in this revision

Viewing changes to crm_claim_rma/wizard/__init__.py

  • Committer: Joel Grand-Guillaume
  • Date: 2013-12-20 14:16:09 UTC
  • mfrom: (68.1.33 openerp-rma)
  • Revision ID: joel.grandguillaume@camptocamp.com-20131220141609-62vt6kn06q9ut5cb
[MIGR] Migrate the crm_claim_rma to version 7.0:
Split of the module in :
- crm_rma_advance_location (extract the warehouse and location additions that the original module had)
- crm_rma_lot_mass_return(extracted the mass return button to return products from serial)
- crm_claim_ext(trash bin module where land all functions that I wasn't able to restore)
Add module crm_rma_by_shop (new module that add the shop_id on claims and the according filter to work with)
[IMP] Usability improvements to match v7.0 possibilities
[IMP] Cleanup of the code, PEP8, community standards,...

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
 
#########################################################################
3
 
#                                                                       #
4
 
#                                                                       #
5
 
#########################################################################
6
 
#                                                                       #
7
 
# Copyright (C) 2009-2011  Akretion, Raphaël Valyi, Sébastien Beau,     #
8
 
# Emmanuel Samyn                                                                                    #
9
 
#                                                                       #
10
 
#This program is free software: you can redistribute it and/or modify   #
11
 
#it under the terms of the GNU General Public License as published by   #
12
 
#the Free Software Foundation, either version 3 of the License, or      #
13
 
#(at your option) any later version.                                    #
14
 
#                                                                       #
15
 
#This program is distributed in the hope that it will be useful,        #
16
 
#but WITHOUT ANY WARRANTY; without even the implied warranty of         #
17
 
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          #
18
 
#GNU General Public License for more details.                           #
19
 
#                                                                       #
20
 
#You should have received a copy of the GNU General Public License      #
21
 
#along with this program.  If not, see <http://www.gnu.org/licenses/>.  #
22
 
#########################################################################
23
 
 
24
 
import returned_lines_from_serial
25
 
#import returned_lines_from_invoice
26
 
#import picking_from_returned_lines
27
 
#import refund_from_returned_lines
28
 
#import exchange_from_returned_lines
29
 
#import picking_from_exchange_lines
30
 
import get_empty_serial
31
 
 
32
 
import claim_make_picking
33
 
import account_invoice_refund
34
 
import claim_make_picking_from_picking
 
2
##############################################################################
 
3
#
 
4
#    Copyright 2013 Camptocamp
 
5
#    Copyright 2009-2013 Akretion,
 
6
#    Author: Emmanuel Samyn, Raphaël Valyi, Sébastien Beau,
 
7
#            Benoît Guillot, Joel Grand-Guillaume
 
8
#
 
9
#    This program is free software: you can redistribute it and/or modify
 
10
#    it under the terms of the GNU Affero General Public License as
 
11
#    published by the Free Software Foundation, either version 3 of the
 
12
#    License, or (at your option) any later version.
 
13
#
 
14
#    This program is distributed in the hope that it will be useful,
 
15
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
#    GNU Affero General Public License for more details.
 
18
#
 
19
#    You should have received a copy of the GNU Affero General Public License
 
20
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
21
#
 
22
##############################################################################
 
23
from . import claim_make_picking
 
24
from . import account_invoice_refund