Browse Source

Add period at the end of some help sentence, clean dead code, reformat header and versionning according to OCA.

pull/130/head
Valentin Chemiere 9 years ago
committed by MonsieurB
parent
commit
968b429b2b
  1. 4
      sms_send_picking/README.rst
  2. 24
      sms_send_picking/__openerp__.py
  3. 2
      sms_send_picking/stock.py

4
sms_send_picking/README.rst

@ -4,8 +4,8 @@
SMS send picking
===========
This module provide a cron and a method to automaticly sending a SMS when a
picking delivery is ready to transfert
This module provides a cron and a method to automaticly sending a SMS when a
picking delivery is ready to transfert.
Configuration

24
sms_send_picking/__openerp__.py

@ -1,28 +1,10 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Module for Odoo
# Copyright (C) 2015 Akretion (http://www.akretion.com).
# @author Valentin CHEMIERE <valentin.chemiere@akretion.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
# © 2015 Valentin CHEMIERE <valentin.chemiere@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Sms Send Picking',
'version': '0.0.1',
'version': '8.0.1',
'author': 'Akretion, Odoo Community Association (OCA)',
'website': 'www.akretion.com',
'license': 'AGPL-3',

2
sms_send_picking/stock.py

@ -36,7 +36,7 @@ class StockPicking(models.Model):
('default_gateway', '=', True)], limit=1)
return {
'gateway_id': gateway.id,
'message': _('Your picking %s is ready to transfert') % self.name,
'message': _('Your picking %s is ready to transfer.') % self.name,
'mobile': self.partner_id.mobile,
'partner_id': self.partner_id.id,
'state': 'draft',

Loading…
Cancel
Save