Rodney Elpidio Enciso Arias před 7 roky
revize
07b4ad240c
10 změnil soubory, kde provedl 42 přidání a 0 odebrání
  1. 3 0
      __init__.py
  2. binární
      __init__.pyc
  3. 18 0
      __openerp__.py
  4. 6 0
      models.py
  5. binární
      models.pyc
  6. binární
      static/description/icon.png
  7. binární
      static/src/favicons/favicon-16x16.png
  8. binární
      static/src/favicons/favicon-32x32.png
  9. binární
      static/src/favicons/favicon-96x96.png
  10. 15 0
      views/template.xml

+ 3 - 0
__init__.py

@@ -0,0 +1,3 @@
+# -*- coding: utf-8 -*-
+
+from . import models

binární
__init__.pyc


+ 18 - 0
__openerp__.py

@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+{
+    "name": "Eiru POS title change",
+    "version": "1.0",
+    "category": "Point Of Sale",
+    "website": "https://www.eiru.com.py",
+    "author": "Eiru",
+    "license": "AGPL-3",
+    "application": False,
+    "installable": True,
+    "depends": [
+        "base",
+        "point_of_sale",
+    ],
+    "data": [
+        "views/template.xml",
+    ],
+}

+ 6 - 0
models.py

@@ -0,0 +1,6 @@
+# -*- coding: utf-8 -*-
+
+from openerp import api, fields, models
+
+class PosOrder(models.Model):
+    _inherit = 'pos.order'

binární
models.pyc


binární
static/description/icon.png


binární
static/src/favicons/favicon-16x16.png


binární
static/src/favicons/favicon-32x32.png


binární
static/src/favicons/favicon-96x96.png


+ 15 - 0
views/template.xml

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+        <template id="eiru_pos_title_change.eiru_pos_web_layout" name="Eiru POS Layout Assets" inherit_id="point_of_sale.index">
+            <title position="replace">
+                <title>Eiru Software</title>
+            </title>
+            <link rel="shortcut icon" position="replace">
+                <link rel="icon" type="image/png" sizes="32x32" href="/eiru_theme/static/src/favicons/favicon-32x32.png" />
+                <link rel="icon" type="image/png" sizes="96x96" href="/eiru_theme/static/src/favicons/favicon-96x96.png" />
+                <link rel="icon" type="image/png" sizes="16x16" href="/eiru_theme/static/src/favicons/favicon-16x16.png" />
+            </link>
+        </template>
+    </data>
+</openerp>