Add a button in Header File in Odoo (POS) - odoo-10

I'm facing problem in creating a new image button in Header line in POS (Odoo). I'm attaching an image to show you where I want this lock-image.(Somewhere between odoo symbol and Administrator)
Here's what I've done in my xml file. (All files are perfectly included in manifest.py).
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="Chrome">
<t t-jquery="div.pos-branding img.pos-logo" t-operation="after">
<span class="order-button lock_button">
<i class="fa fa-lock" aria-hidden="true"></i>
</span>
</t>
</t>
</templates>

(Sloved) Add a button icon in Header File in Odoo #v10 (POS)
Code :
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="Chrome">
<t t-jquery="div.pos-branding img.pos-logo" t-operation="after">
<span>
<i class="fa fa-lock fa-lg" aria-hidden="true"></i>
</span>
</t>
</t>
</templates>
Also attach Image :

Related

Include document number in header on every page after first page Qweb

How to add page number on right side with the same level as a company name
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="adjustment_document" inherit_id="sale.report_saleorder_document">
<t t-call="report.external_layout"></t>
</template>
</data>
</odoo>
what are the best ways to do it
thanks
I got an answer
<template id="page_external_layout_header" inherit_id="web.external_layout_standard">
<xpath expr="//div[#class='header']/div[#class='row']/div[#name='company_address']" position="after">
<div class="col-xs-2 text-muted pull-right">
<span class="page"/>
</div>
</xpath>
</template>

AssertionError: Element odoo has extra content: data, line 4

I am using Odoo 11 and am trying to get a report working. I have this code working in Odoo 9 but cant see where the problem is
<?xml version="1.0" encoding= "utf-8"?>
<odoo>
<data>
<t t-name="ds_repair.qweb_ds_repair_template2">
<t t-foreach ="docs" t-as="o">
<div class="page" style="text-align: center;">
<div class="oe_structure"/>
<span><img height="44" width="auto" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYEAAABkCAYAAABgp4yhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAACC9SURBVHhe7d0HsDRLVQfw92FO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Qyblo3RvHsLOsBu19Z1nV52+dzYNXkQEC3BOMMbYUWA+8o32eUUiR7HoWAe8pnF2kkFrKYk1chvQtNQKgHvbNB3qWshjDUnlB14+FNi5CJueg9QzchdXKqqUftsxcSrrt3ZRlgfddShrKMyiCMWVQllI2djFnDMA9Kcyx+5d8wD7LGy/BMdOn7Fu9CWU8dylpyqd4zD15gaV5KfKizIYeeg15KONcc59zaJmcgp7CmbOU9OyyCj130fJ/MsiN5hOJRGLDyJ3FEolEYsNII5BIJBIbRhqBRCKR2DDSCCQSicSGkUYgkUgkNow0AolEIrFZ3HTT/wFrpwEuLkyGBgAAAABJRU5ErkJggg==" /></span>
<span style="font-size:24px;"><strong><span t-field="o.x_partner_id"/></strong></span>
<span style="font-size:18px;"><strong><span t-field="o.x_partner_id.mobile"/></strong></span>
</div>
</t>
</t>
</data>
</odoo>
**
If you are trying to create a report view then this will solve the
issue
**
<?xml version="1.0" encoding= "utf-8"?>
<odoo>
<data>
<template id="ds_repair.qweb_ds_repair_template2">
<t t-call="web.html_container">
<t t-foreach ="docs" t-as="o">
<div class="page" style="text-align: center;">
<div class="oe_structure"/>
<span><img height="44" width="auto" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYEAAABkCAYAAABgp4yhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAACC9SURBVHhe7d0HsDRLVQfw92FOmBNmxJxQMIsZFcGccwQxoYAZFFOVmLBMpaIIBswBxIA5PBVRURBzwhwRM2bx/O53+73+xu7ZmZ3Zu3fvnH/Vv3Z3dkKH0+ecPt3Tfe0Zz3jGTYlEIpHYJm5z/plIJBKJDSKNQCKRSGwYaQQSiURiw0gjkEgkEhtGGoFEIpHYMI4+O+jatWvn3zaJZwneIfgCwf914AqhJVjy+J/B/wr+z/nvfws+Lfgf578vWzkQUM7SswafL/g8QfXmt0//rSnErXK7LI2kToc6VAbvGPyT4MOC/x5MzMBlmJ2ZRuC4o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gkNow0AolEIrFZ3HTT/wFrpwEuLkyGBgAAAABJRU5ErkJggg==" /></span>
<span style="font-size:24px;"><strong><span t-field="o.x_partner_id"/></strong></span>
<span style="font-size:18px;"><strong><span t-field="o.x_partner_id.mobile"/></strong></span>
</div>
</t>
</t>
</template>
</data>
</odoo>

add css style into module's xml file in joomla

I have hello world module in joomla. I would like to add css style in my xml file in admin section. e.g.
Here is my xml code:
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5.0" method="upgrade">
<name>MOD_HELLOWORLD</name>
<!-- Следующие элементы не обязательны и могут содержать все, что вы считаете нужным -->
<creationDate>05.05.2012</creationDate>
<author>Dev Joomla</author>
<authorEmail>info#dev-joomla.ru</authorEmail>
<authorUrl>http://www.dev-joomla.ru</authorUrl>
<copyright>Copyright Info</copyright>
<license>License Info</license>
<!-- Версия модуля – эта строка сохраняется в таблице расширений -->
<version>0.0.1</version>
<!-- Описание модуля также не обязательно и если оно не указано, то берется из тэга name -->
<description>MOD_HELLOWORLD_XML_DESCRIPTION</description>
<!-- Обратите внимание на тэг files: в нем содержится информация, о том какие файлу нужно копировать в каталог модуля -->
<files>
<filename module="mod_helloworld">mod_helloworld.php</filename>
<filename>mod_helloworld.xml</filename>
<folder>tmpl</folder>
<folder>language</folder>
<filename>helper.php</filename>
<folder>css</folder>
<folder>js</folder>
</files>
<!-- Описание параметров модуля -->
<config>
<fields name="params">
<fieldset name="basic">
<field
name="greeting"
/*CODE HERE*/
type="text"
default="MOD_HELLOWORLD_GREETING_DEFAULT"
label="LABEL"
/>
</fieldset>
</fields>
</config>
</extension>
Now I would like that my label LABEL becomes red. How can I do this?
If I understand your question correctly, I think you could do this with straight CSS. For example, say I wanted to color the second label of the protostar template in the Joomla template manager, use your web insptector to figure out the classes and divs.
HTML is
<div id="attrib-advanced" class="tab-pane active">
<div class="control-group ">
<div class="control-label"><label>Template Colour</label></div>
<div class="controls"> ....</div>
</div>
<div class="control-group "> <------ target this control-group
<div class="control-label"><label>Background Colour</label></div>
<div class="controls"> ....</div>
</div>
....
</div>
In this case I could do it with the following in the template CSS:
#attrib-advanced .control-group:nth-of-type(2){
color:red;
}
Good luck!

How to make 2 tables on 1 page?

I want two 'menus' on my page, but when I add a div next to my leftmenu (where I didn't use div but pictures) I get ugly space between my pictures.
My current code is:
<html>
<head>
<title>Welcome to Nielyboyken</title>
</head>
<body bgcolor="grey">
<br>
<a href="http://zeldauniverse.net">
<img src="http://i1.minus.com/jbg3tjE57KYsx1.png" />
</a>
<a href="">
<img src="http://i.minus.com/ip2vEndNDv7vj.png" />
</a><text-align:"right">
<iframe src="http://free.timeanddate.com/clock/i3qoeq8q/n48/szw135/szh135/hoc000/hbw12/hfc000/cf100/hgr0/hcw1/fas20/facfff/fdi88/mqc0033cd/mqs3/mql5/mqw2/mqd74/mhc0033cd/mhs4/mhl4/mhw2/mhd76/mmcf90/mml4/mmw1/mmd74/hhc666/hmc666" frameborder="0" width="137" height="137"></iframe>
</font>
<div style="width:1340px; height:20px; background-color:black;">
Contact
[Register]
[Login]</font>
</div>
<center>
<font style="font-family: Fixedsys;font-size: 35px;color:blue">Welcome to my personal site!</font>
</center>
<center><font style="font-family:Fixedsys,;color:white">Welcome! Notice that this is not a forum site but just a personal site.</font></center>
<div id="LeftMenu">
<table>
<img src="http://i5.minus.com/iI7VEHhLP3WyV.png" /> <br>
<a target="_blank" href="http://minus.com/lJMgzKG1FFv2v">
<img src="http://i.minus.com/jJMgzKG1FFv2v.png" border="0"/>
</a>
<div style="width:50px; height:50px; color:red;" </div> <br>
<a href="http://zeldauniverse.net">
<img src="http://i.minus.com/ibfBWr7hEsMtsT.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://youtube.com">
<img src="http://i.minus.com/ib0OadHbWfnpew.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://twitter.com">
<img src="http://i.minus.com/iMNcGJ5Bjwvx4.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://facebook.com">
<img src="http://i.minus.com/ibhDDFKmGlL4rk.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<img src="http://i4.minus.com/i6nJ7Pg8kUfqo.png" /> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="page2test.html" >
<img src="http://i.minus.com/iFNcJv4UvSdye.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="aboutzu.html">
<img src="http://i.minus.com/ishbphpEbNRi2.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://twitter.com/nielyboyken">
<img src="http://i.minus.com/ihJnSHKv3vAco.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://www.zeldauniverse.net/forums/members/5390370-nielyboyken.html">
<img src="http://i.minus.com/ibdZgDlK1H5NLP.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="youtube.com/nielyboyken">
<img src="http://i.minus.com/iGZahFuxuc349.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" />
</table>
</div>
</body>
</html>
Does someone know how to fix it?
You should use CSS. HTML is going to leave white space unless you explicitely define where you want them in your DIVs. Much easier to use a CSS template, and format with that. You will have ability to "stick" things in place with CSS.
http://www.w3schools.com/css/
OR
You could use a 1x 2 table. and then insert each element inside the table. Then they would be side by side. Define Column properties, etc...
You should really Google the formatting of this stuff before you ask on here...

openerp 6.1 make a new rml report

I want to make a specific header and footer in a custom rml report (different from other reports) so I cant change the header/footer section to this company
how to make a new footer to this report that will appear in all report pages
I have make the header as a repeat row in <blockTable> but I didn't find any solutions to the footer
this sample of my rml report
<?xml version="1.0" encoding="UTF-8"?>
<document filename="test.pdf">
<template pageSize="(842.0,595.0)" title="Test" author="Martin Simon" allowSplitting="20">
<pageTemplate id="main">
<pageGraphics>
<image file="addons/sim/report/org.jpg" x="0" y="0" width="842" height="595"/>
</pageGraphics>
<frame id="first" x1="72.0" y1="122.0" width="707" height="404"/>
</pageTemplate>
</template>
<story>
<blockTable repeatRows="1">
<tr>
<td>
Test Header
</td>
</tr>
<tr>[[ repeatIn(objects,'o') ]]
<td>
<para style="Table_20_Contents">
</para>
</td>
</tr>
</blockTable>
<para name="footer">
Test footer
</para>
</story>
</document>
You can add your own header footer on page like this. It repeat all pages of reports.
<template title="TEST" author="Hello" allowSplitting="20">
<pageTemplate id="first">
<frame id="first" x1="15.0" y1="42.0" width="539" height="758"/>
<pageGraphics>
<!-- Header -->
<image x="14cm" y="25.6cm" height="40.0">[[ company.logo or removeParentNode('image') ]]</image>
<setFont name="Helvetica" size="10.0"/>
<drawString x="1cm" y="27.2cm">Main Header</drawString>
<!-- Order Details -->
<place x="33" y="18cm" width="530.0" height="205.0">
<blockTable colWidths="265,265" style="Table1">
<tr>
<td>Header Value 1</td>
<td><para style="normal2-center">Header Value 2</para></td>
</tr>
</blockTable>
</place>
<!-- footer -->
<place x="33" y="55cm" width="530.0" height="205.0">
<blockTable colWidths="265" style="Table1">
<tr><td><para style="normal2-center">Footer Value</para></td></tr>
</blockTable>
</place>
</pageGraphics>
</pageTemplate>
</template>

Resources