Odoo Help

0

0
3 Answers
1
Avatar

Aktiv software

--Aktiv software--
4254
| 6 3 9
Ahmedabad, الهند
--Aktiv software--

Started off with a small number and here we are serving multiple Odoo development organizations as a backend technical and functional Odoo force.
Apart from various business-oriented goals, we as a team have strongly emphasized on serving the Odoo Community. Being into the development of the open-source community we continuously thrive to learn, share and contribute to Odoo. Odoo having 20,000+ people contributing to the community from around the globe, we are proud that we belong here.
Talking about our contribution to Odoo Community we have prepared over 50+ Aktiv app modules. Moreover, we have launched wide range of modules that enhance the out-of-box functionalities of Odoo and meets the real-time business scenarios.
-POS
-Project Management
-Website
-Accounting
-Sales
-Productivity
-Inventory
-Document Management
-Human Resources
-Payment module (Payment Reminder)
-User Accessibility (Sign Up with Mobile Number, Activity Log)
-Report Modules (PDF, Printing, Invoice)
All in all, we combine the ERP solutions to add icing on the cake thereby beautifying the base of default Odoo functionalities. So, raise the bar of your business with our Go-To Odoo Apps.
To know more about the latest trends and innovations in Odoo you can also stay in tune with our social media profiles and grab relevant inside scoops.
“Your rewards are always in direct proportion to your contribution”. Keep Sharing, Keep Growing!

Aktiv software
8‏/9‏/2017 2:10 ص

Hi Serdar Eren,

In Odoo 10, you can add your custom qweb report print button by using menu=”True” attribute  in report tag.

<odoo>
    <data>
        <report
            id="payment_report_custom"
            string="Payment Report"
            model="account.payment"
            report_type="qweb-pdf"
            file="custom_reports.payment_rpt"
            name="custom_reports.payment_rpt"
            paperformat="custom_reports.izmer_paperformat"
            menu=”True”
        />
    </data>
</odoo>

I hope this will help you.

Thanks!

0
Samo Arko
9‏/4‏/2018 9:42 ص

You don't need a function you just need the action id for the template and add it  to the button in your view.

<button name="%(action_report_my_report)d" string="Get report" type="action"/>

Hope this will help you

0
Herry prasetyo
9‏/4‏/2018 5:42 ص

<?xml version="1.0" encoding="utf-8"?>

<odoo>

<data>

<report

id="report_account_payment"

string="Print Payment Supplier"

model="account.payment"

report_type="qweb-pdf"

file="odoo-juvisk/report/report_account_payment"

name="odoo-juvisk.report_account_payment_view" />

<template id="report_account_payment_view">

<t t-call="report.html_container">

<t t-foreach="docs" t-as="doc">

<t t-call="report.external_layout">

<div class="page">

<div class="oe_structure"/>

<h2>Payment Supplier # <span t-field="doc.name"/></h2>

<div class="row">

<div class="col-xs-6">

<strong>Date:</strong>

<p t-field="doc.payment_date"/>

<strong>Partner:</strong>

<p t-field="doc.partner_id.name"/>

<strong>Amount:</strong>

<p t-field="doc.amount"/>

</div>

<div class="col-xs-6">

<strong>Journal:</strong>

<p t-field="doc.journal_id.name"/>

</div>

</div>

</div>

</t>

</t>

</t>

</template>

</data>

</odoo>


I hope can help you

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now