Browse Source

[FIX] Remote the file disable_odoo_online.pot. Convert the function update_notification to new api

pull/399/head
Bui Ngoc Tu 9 years ago
parent
commit
777f728e74
  1. 16
      disable_odoo_online/i18n/disable_odoo_online.pot
  2. 7
      disable_odoo_online/model/publisher_warranty_contract.py

16
disable_odoo_online/i18n/disable_odoo_online.pot

@ -1,16 +0,0 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-03-14 17:41+0000\n"
"PO-Revision-Date: 2014-03-14 17:41+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

7
disable_odoo_online/model/publisher_warranty_contract.py

@ -18,11 +18,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv.orm import Model
from openerp import api, models
class publisher_warranty_contract(Model):
class publisher_warranty_contract(models.AbstractModel):
_inherit = 'publisher_warranty.contract'
def update_notification(self, cr, uid, ids, cron_mode=True, context=None):
@api.multi
def update_notification(self, cron_mode=True, context=None):
pass
Loading…
Cancel
Save