Browse Source

pylint

pull/130/head
MonsieurB 8 years ago
parent
commit
3f510ddef3
  1. 4
      sms_send_picking/README.rst
  2. 3
      sms_send_picking/models/stock.py

4
sms_send_picking/README.rst

@ -26,10 +26,6 @@ For further information, please visit:
* https://www.odoo.com/forum/help-1
Known issues / Roadmap
======================
* ...
Bug Tracker
===========

3
sms_send_picking/models/stock.py

@ -48,7 +48,8 @@ class StockPicking(models.Model):
pickings = self.env['stock.picking'].search(domain)
total = len(pickings)
for idx, picking in enumerate(pickings):
_logger.debug('Send Sms for picking %s, progress %s/%s', picking, idx, total)
_logger.debug('Send Sms for picking %s, progress %s/%s', picking,
idx, total)
vals = picking._prepare_availability_by_sms_notification()
self.env['sms.sms'].create(vals)
picking.write({'availability_sent_by_sms': True})

Loading…
Cancel
Save