Include document number in header on every page after first page Qweb - odoo-11

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>

Related

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,iVBORw0KGgoAAAANSUhEUgAAAYEAAABkCAYAAABgp4yhAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAACC9SURBVHhe7d0HsDRLVQfw92FOmBNmxJxQMIsZFcGccwQxoYAZFFOVmLBMpaIIBswBxIA5PBVRURBzwhwRM2bx/O53+73+xu7ZmZ3Zu3fvnH/Vv3Z3dkKH0+ecPt3Tfe0Zz3jGTYlEIpHYJm5z/plIJBKJDSKNQCKRSGwYaQQSiURiw0gjkEgkEhtGGoFEIpHYMI4+O+jatWvn3zaJZwneIfgCwf914AqhJVjy+J/B/wr+z/nvfws+Lfgf578vWzkQUM7SswafL/g8QfXmt0//rSnErXK7LI2kToc6VAbvGPyT4MOC/x5MzMBlmJ2ZRuC4oEReNfiCQUrxKmGXEfD9v4PFCFAgfiuH47eMW/FM53y24PMHbxtMI3C9DpXJuwSfEvyqoLpMzEAagcDGjQDl/xHBlwpSgJdJ+S1FKy8UPCNQlL3Pfwn+TfAfg08NMgjl85ig+G8XfOHg8wZf9Pw7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myqRjrTqX9yGG5xROweKyGuqHZBRP6+BVYqAXDjrrQo6gJ2y8irXR82x4ZT1oqNLYu5ZS8v+Yd6fhDjG3kfXK41Dpm4JeHg5lBArG8jqEfPcMhzIdKlsKsOXVo/usPSYzVSalq2XE1UELw/MKx7CzrAZtfmdZ1edvnc2DV4mBnjCfdQ9H0FNMPeFegp7AOr4Gep55y8j0FGiPa6RxTvqm4FhGQI+g9VwcKvVennfJ10XlbYpMttLCIIz1TobnF46hW1bD9l7T/9W5NbtTS7fILcwO6s0GGDbKIXqCvM8yErvQS8uuGUxTwCPHFg6Rl7m47OlbC5bGKFDfvTz3ZsIU9GSCvO6S6TnYJZP+bxlpPZKe14499M47SFmdzx5KQMsyXDUGWiEhx3pdaA1qeD6OeaY9z2mXZ9fzHluhEPdqeTdjntfaXvYYLkv6WmnAKd4yhdOqyzF5KejlZdhbcp9WCAWlfQzKpXWd9A1xSJmkRFvnrMWC0bJqtffCQLesWudvlc2DV40BDbslSISawNfQQFrn7lIgPcOBGuPwOdLUE1LPaimcXuOUXgPZNfy+SAMAlyV9S4wA9DxZiralQB1rORooHNnCLnkZGk6/e0pd+ba85YuQyblo3RvHsLOsBu19Z1nV52+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/x5MzMBlmJ2ZRuC4oEReNfiCQUrxKmGXEfD9v4PFCFAgfiuH47eMW/FM53y24PMHbxtMI3C9DpXJuwSfEvyqoLpMzEAagcDGjQDl/xHBlwpSgJdJ+S1FKy8UPCNQlL3Pfwn+TfAfg08NMgjl85ig+G8XfOHg8wZf9Pw7Q8AA4DMHnbdVI/DswXsEfyX4QUF1mJiBNAKBjRuBVwjqRr9kkEK8aqiFS0VT/FjCPqgH8E9BxoDy//vg3wX/IvhX58cYhL8OUjyHAmX+IkHKnnF+6SDj/EJBYSCfQkHPFSzKXy/g0D2By9pA1J1yePng7wffOvjHwcQMpBEIbNwIvHbwsUEe5vGl4eJQ59X3YhBKDwEZgz8L/mbwd4K8Td//OcgYrFVeFBmv/rWCdwy+TvCVgi8XfO4gZV9YlD5sWnDPoQyQIX+z4C8GEzOQRiCQRuCmnwqKMyf+Pxg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S8uuGUxTwCPHFg6Rl7m47OlbC5bGKFDfvTz3ZsIU9GSCvO6S6TnYJZP+bxlpPZKe14499M47SFmdzx5KQMsyXDUGWiEhx3pdaA1qeD6OeaY9z2mXZ9fzHluhEPdqeTdjntfaXvYYLkv6WmnAKd4yhdOqyzF5KejlZdhbcp9WCAWlfQzKpXWd9A1xSJmkRFvnrMWC0bJqtffCQLesWudvlc2DV40BDbslSISawNfQQFrn7lIgPcOBGuPwOdLUE1LPaimcXuOUXgPZNfy+SAMAlyV9S4wA9DxZiralQB1rORooHNnCLnkZGk6/e0pd+ba85YuQyblo3RvHsLOsBu19Z1nV52+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>
</template>
</data>
</odoo>

Add a button in Header File in Odoo (POS)

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 :

Button not displaying report in odoo

I have been battling with an issue for a while now....Kindly help me. Below is the issue:
I created a button on the header of a form, the idea of this button is to show a report of an image file on click. But anytime i click this button, nothing happens. And when i edited the form view from developer's mode, i realized that the button is picking a different name. i.e
<header>
<button name="reports/bh_customcustom.report_formdownload_view" type="report" string="Form Download" class="oe_highlight"/>
</header>
instead of this which is in the code:
<header>
<button name="action_formdownloader" type="object"
string="Form Downloader" class="oe_highlight"/>
</header>
Below are my code snippet:
The form view:
<record model="ir.ui.view" id="form_download_form_view">
<field name="name">form_download.form</field>
<field name="model">formdownload</field>
<field name="arch" type="xml">
<form string="Form Download Form">
<header>
<button name="action_formdownloader" type="object"
string="Form Downloader" class="oe_highlight"/>
</header>
<sheet>
<group string="Company Name">
<!--<field name="company_name_id"/>-->
<field name="name"/>
<!--<field name="form_serial_no" />-->
</group>
</sheet>
</form>
</field>
</record>
The model:
class FormDownload(models.Model):
_name = 'formdownload'
_rec_name = 'form_serial_no'
# #api.multi
def action_formdownloader(self):
return self.env['report'].get('bh_customcustom.report_formdownload_view')
name = fields.Many2one('companyname', string="Company Name", ondelete='cascade',
required=True)
form_serial_no = fields.Char(string="Form Serial No", readonly=True)
status = fields.Boolean(string="Status", default=False)
Part of the openerp.py file related to it
'depends': ['base', 'construction_plot_4devnet', 'bh_custom', 'report'],
# always loaded
'data': [
# 'security/ir.model.access.csv',
'views/bh_customcustom.xml',
'sequences.xml',
'report/form_download_report.xml',
'security/security_groups.xml',
'templates.xml',
],
'images': [
'img/firstpage.png',
],
The report file:
<openerp>
<data>
<report
id="report_form_download"
model="formdownload"
string="Form Download Report"
name="bh_customcustom.report_formdownload_view"
file="bh_customcustom.report_formdownload_view"
report_type="qweb-pdf"/>
<record id="paperformat_formdownloadcheck" model="report.paperformat">
<field name="name">Form Download Check</field>
<field name="default" eval="True"/>
<field name="format">custom</field>
<field name="page_height">80</field>
<field name="page_width">175</field>
<field name="orientation">Portrait</field>
<field name="margin_top">3</field>
<field name="margin_bottom">3</field>
<field name="margin_left">3</field>
<field name="margin_right">3</field>
<field name="header_line" eval="False"/>
<field name="header_spacing">3</field>
<field name="dpi">80</field>
</record>
<template id="report_formdownload_view">
<t t-call="report.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="report.external_layout">
<div class="page">
<!--<img class="img img-responsive" src="/bh_customcustom/static/src/img/firstpage.png"-->
<!--style="max-height: 45px"/>-->
<img src="/static/src/img/firstpage.png"
style="max-height: 45px"/>
</div>
</t>
</t>
</t>
</template>
</data>
</openerp>
The problem was from my path on the view xml file cos i edited the form view now and it's picking the exact method that it suppose to pick after i reviewed the path. Moreso, the method that would pull the report should be like this:
#api.multi
def action_formdownloader(self):
return self.env['report'].get_action(self, 'bh_customcustom.report_formdownload_view')

Parent view error when installing Ecommerce without price odoo module

I have Odoo v9 installed in CentOS7 on a remote server. I copied the Ecommerce Catalog without price module folder to the addons folder, activated developer mode, updated module list, clicked on install that module. I get this error posted below and if I come back to the apps that module shows up as "Installing".
Error details:Element '<xpath expr="//del[#class='text-danger mr8']">' cannot be located in parent view
Error context:View `Suggested Products Without Catalog Price`[view_id: 924, xml_id: n/a, model: n/a, parent_id: 894]None" while parsing None:23, near<data inherit_id="website_sale.cart_lines" name="Suggested Products Without Catalog Price"> <xpath expr="//del[#class='text-danger mr8']" position="replace"> <field name="text-danger" invisible="1" nolabel="1"/> </xpath> </data>
Here is the xml view it refers to:
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<template id="products_item" inherit_id="website_sale.products_item" name="Shop Without Catalog Price">
<xpath expr="//del[#class='text-danger mr8']" position="replace">
<field name="text-danger" invisible="1" nolabel="1"/>
</xpath>
</template>
<template id="cart" inherit_id="website_sale.cart_lines" name="Shopping Cart Without Catalog Price">
<xpath expr="//del[#t-field='line.product_id.lst_price']" position="replace">
<field name="text-danger" invisible="1" nolabel="1"/>
</xpath>
</template>
<template id="product_price" inherit_id="website_sale.product_price" name="Product Page Without Catalog Price">
<xpath expr="//span[#class='text-danger oe_default_price']" position="replace">
<field name="text-danger oe_default_price" invisible="1" nolabel="1"/>
</xpath>
</template>
<template id="suggested_products_list" inherit_id="website_sale.cart_lines" name="Suggested Products Without Catalog Price">
<xpath expr="//del[#class='text-danger mr8']" position="replace">
<field name="text-danger" invisible="1" nolabel="1"/>
</xpath>
</template>
<template id="modal_cart" inherit_id="website_sale_options.modal" name="Modal Cart Without Catalog Price">
<xpath expr="//span[#t-attf-class='text-danger oe_default_price']" position="replace">
<field name="text_danger oe_default_price" invisible="1" nolabel="1"/>
</xpath>
<xpath expr="//span[#class='text-danger oe_optional']" position="replace">
<field name="text-danger oe_optional" invisible="1" nolabel="1"/>
</xpath>
</template>
</data>
</openerp>
What is going on here is that basically a ViewB tries to add something on ViewA using the //del[#class='text-danger mr8'] xpath as a hook. But this element on ViewA has probably been removed by another module. So, what you can do here is find which view uses this xpath expression and either edit it to use another expression or find the ViewA that this expression refers to and add the class='text-danger mr8' element so that ViewB can operate normally.

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