From 3bcd51ba712b3c2aa6abfef21a317eb9d6ccf1e0 Mon Sep 17 00:00:00 2001 From: Manuel Claeys Bouuaert Date: Tue, 1 Oct 2019 11:53:09 +0200 Subject: [PATCH] beesdoo_pos module : migration to version 10.0, 11.0 and 12.0 --- beesdoo_pos/__init__.py | 3 +- .../{__openerp__.py => __manifest__.py} | 1 - beesdoo_pos/data/cron.xml | 5 +-- beesdoo_pos/data/email.xml | 3 +- beesdoo_pos/models/__init__.py | 2 +- beesdoo_pos/models/beesdoo_pos.py | 44 +++++++++---------- beesdoo_pos/views/beesdoo_pos.xml | 6 +-- 7 files changed, 31 insertions(+), 33 deletions(-) rename beesdoo_pos/{__openerp__.py => __manifest__.py} (97%) diff --git a/beesdoo_pos/__init__.py b/beesdoo_pos/__init__.py index 0f7cb6b..9a7e03e 100644 --- a/beesdoo_pos/__init__.py +++ b/beesdoo_pos/__init__.py @@ -1,2 +1 @@ -# -*- coding: utf-8 -*- -import models \ No newline at end of file +from . import models \ No newline at end of file diff --git a/beesdoo_pos/__openerp__.py b/beesdoo_pos/__manifest__.py similarity index 97% rename from beesdoo_pos/__openerp__.py rename to beesdoo_pos/__manifest__.py index 965ae88..b9d7bdf 100644 --- a/beesdoo_pos/__openerp__.py +++ b/beesdoo_pos/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- { 'name': "Beescoop Point of sale", diff --git a/beesdoo_pos/data/cron.xml b/beesdoo_pos/data/cron.xml index 9ba9ae7..0da51d6 100644 --- a/beesdoo_pos/data/cron.xml +++ b/beesdoo_pos/data/cron.xml @@ -6,9 +6,8 @@ minutes -1 - pos.order - _send_order_cron - () + + model._send_order_cron() \ No newline at end of file diff --git a/beesdoo_pos/data/email.xml b/beesdoo_pos/data/email.xml index 6b4dc80..23719d6 100644 --- a/beesdoo_pos/data/email.xml +++ b/beesdoo_pos/data/email.xml @@ -10,7 +10,8 @@ ${object.partner_id.id} - + + Ticket ${object.pos_reference} ${object.partner_id.lang} + bees.pos.config.form.view pos.config - + @@ -35,4 +35,4 @@ - +