diff --git a/pos_menu/README.rst b/pos_menu/README.rst index 4eafc8da13..10c52f62f7 100644 --- a/pos_menu/README.rst +++ b/pos_menu/README.rst @@ -20,7 +20,7 @@ Maintainers ----------- * `IT-Projects LLC `__ - To get a guaranteed support you are kindly requested to purchase the module at `odoo apps store `__. + To get a guaranteed support you are kindly requested to purchase the module at `odoo apps store `__. Thank you for understanding! @@ -29,12 +29,12 @@ Maintainers Further information =================== -Demo: http://runbot.it-projects.info/demo/11.0/pos-addons +Demo: http://runbot.it-projects.info/demo/12.0/pos-addons -HTML Description: https://apps.odoo.com/apps/modules/11.0/pos_menu/ +HTML Description: https://apps.odoo.com/apps/modules/12.0/pos_menu/ Usage instructions: ``_ Changelog: ``_ -Tested on Odoo 11.0 dff2e242a5e5288cb3c8408a9b635a4c85034e83 +Tested on Odoo 12.0 dff2e242a5e5288cb3c8408a9b635a4c85034e83 diff --git a/pos_menu/__manifest__.py b/pos_menu/__manifest__.py index dc56034d82..91a13c1fdc 100644 --- a/pos_menu/__manifest__.py +++ b/pos_menu/__manifest__.py @@ -1,3 +1,7 @@ +# Copyright 2019 Anvar Kildebekov +# Copyright 2019 Ilmir Karamov +# License MIT (https://opensource.org/licenses/MIT). + { "name": """Product Sets for POS""", "summary": """Add own set of products per each POS""", @@ -27,5 +31,5 @@ "post_init_hook": None, "uninstall_hook": None, "auto_install": False, - "installable": False, + "installable": True, } diff --git a/pos_menu/demo/product_set_demo.xml b/pos_menu/demo/product_set_demo.xml index bfe5b0da47..516934e5ed 100644 --- a/pos_menu/demo/product_set_demo.xml +++ b/pos_menu/demo/product_set_demo.xml @@ -1,4 +1,7 @@ + Shop1 @@ -10,7 +13,7 @@ Set 1 @@ -18,7 +21,7 @@ Set 2 diff --git a/pos_menu/i18n/pos_menu.pot b/pos_menu/i18n/pos_menu.pot index 7e119d95f3..cf31706f48 100644 --- a/pos_menu/i18n/pos_menu.pot +++ b/pos_menu/i18n/pos_menu.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/pos_menu/models/model.py b/pos_menu/models/model.py index 4bcc41da1c..981058b2d1 100644 --- a/pos_menu/models/model.py +++ b/pos_menu/models/model.py @@ -1,3 +1,7 @@ +# Copyright 2019 Anvar Kildebekov +# Copyright 2019 Ilmir Karamov +# License MIT (https://opensource.org/licenses/MIT). + from odoo import fields, models @@ -43,6 +47,7 @@ def _search_current_session_state(self, operator, value): class PosTag(models.Model): _name = "pos.tag" + _description = "POS tag" name = fields.Char(string="Name") product_ids = fields.Many2many( diff --git a/pos_menu/static/description/index.html b/pos_menu/static/description/index.html index 50632ac70e..4a0ccf7d4d 100644 --- a/pos_menu/static/description/index.html +++ b/pos_menu/static/description/index.html @@ -108,7 +108,7 @@

Need our service?

-o-transform: rotate(-6deg); -moz-transform: rotate(-6deg); -ms-transform: rotate(-6deg);"> - Tested on Odoo
10.0 community + Tested on Odoo
12.0 community
- Tested on Odoo
10.0 enterprise + Tested on Odoo
12.0 enterprise
diff --git a/pos_menu/static/src/js/pos.js b/pos_menu/static/src/js/pos.js index 6936437651..2650304a84 100644 --- a/pos_menu/static/src/js/pos.js +++ b/pos_menu/static/src/js/pos.js @@ -1,3 +1,6 @@ +/* Copyright 2019 Anvar Kildebekov + * Copyright 2019 Ilmir Karamov + * License MIT (https://opensource.org/licenses/MIT). */ odoo.define("pos_menu", function(require) { "use strict"; var models = require("point_of_sale.models"); diff --git a/pos_menu/static/src/js/tour.js b/pos_menu/static/src/js/tour.js index 832241d54c..6cbc2aa9bf 100644 --- a/pos_menu/static/src/js/tour.js +++ b/pos_menu/static/src/js/tour.js @@ -1,3 +1,7 @@ +/* Copyright 2019 Anvar Kildebekov + * Copyright 2019 Ilmir Karamov + * Copyright 2019 Vildan Safin + * License MIT (https://opensource.org/licenses/MIT). */ odoo.define("pos_menu.tour", function(require) { "use strict"; @@ -8,6 +12,7 @@ odoo.define("pos_menu.tour", function(require) { function pos_opening(pos) { return [ + tour.STEPS.SHOW_APPS_MENU_ITEM, { trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"], .oe_menu_toggler[data-menu-xmlid="point_of_sale.menu_point_root"]', @@ -66,7 +71,7 @@ odoo.define("pos_menu.tour", function(require) { } var steps = []; - var menu = ["Boni Oranges", "Black Grapes", "Carrots", "Conference pears"]; + var menu = ["Newspaper Rack", "Whiteboard Pen", "Desk Pad", "Monitor Stand"]; var pos = "Shop1"; steps = steps.concat(pos_opening(pos)); steps = steps.concat(check_menu(menu)); diff --git a/pos_menu/tests/test_default.py b/pos_menu/tests/test_default.py index a064e694fd..d0d0d0f66c 100644 --- a/pos_menu/tests/test_default.py +++ b/pos_menu/tests/test_default.py @@ -1,3 +1,7 @@ +# Copyright 2019 Anvar Kildebekov +# Copyright 2019 Ilmir Karamov +# License MIT (https://opensource.org/licenses/MIT). + import odoo.tests