Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

PDF Report - how to move the recipient address to the right?

Subscribe

Get notified when there's activity on this post

This question has been flagged
pdfaddressreports
3 Replies
5489 Views
Avatar
Stephan Schüpbach

(Odoo 16 / Community)
How can we modify existing standard reports for quotation. sales order, order confirmation etc. without the module Studio? 
The layout configuration has very limited functionality. Typically move address from right ot left is not possible and Studio is not available for Odoo Community.

Or is it possible to make it with Studio on Odoo online and import the report to Odoo community?

0
Avatar
Discard
Avatar
Christian Meyer
Best Answer

Hi Stephan,

we're using V14 and I achieved this by modifying the following xml file:

../addons/web/views/report_templates.xml

The address layout is rendered in the section "external layout styles" and I simply switched the postions of the"address" and the "information_block".

It's quick and dirty and I don't know if this also applies to V16 - but maybe it helps ;-)


0
Avatar
Discard
Stephan Schüpbach
Author

Hi Christian, many thanks. I made some changes in this file but there was no impact on the offer pdf or order confirmation pdf. The layout is set to external_layout_standard.
Which value did you set in the report_templates.xml?
<! --
<template id="address_layout">
<t t-set="colclass" t-value="('col-sm-5' if report_type == 'html' else 'col-3') + ' ms-auto'"/>
<t t-if="address">
<div class="address row">
<t t-if="information_block">
<t t-set="colclass" t-value="'col-3, a offset-1'"/>
<div name="information_block" class="col">
<t t-out="information_block"/>
</div>
</t>
<div name="address" t-att-class="colclass">
<t t-esc="address"/>
</div>
</div>
</t>
</template>
-->

Christian Meyer

"Only one answer per question allowed" - very practical for a forum ;-) ....

Send me a PM to wetig74601@dni8.com ...

Stephan Schüpbach
Author

I cancelled the + 'ms-auto' at "address_layout" and it moved the address to the left. The module 'web' must be updated after a change of the file.

Avatar
Jainesh Shah(Aktiv Software)
Best Answer

Hello Stephan Schupbach,

You can change report layout on view side from odoo community,
for example:
First of all on debug mode.
Follow the step:
Settings --> Technical --> Reporting --> Reports --> Select quotation or any report id, You can see smart button named ">QWeb Views" click on this button --> Select report layout view --> i.g.(report_saleorder_document) --> Change posotion or add new code here.

Or inherit the report and change the report layout or add new layout.

I hope this will be helpful.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari 

0
Avatar
Discard
Avatar
Stephan Schüpbach
Author Best Answer

Hi,
Thanks for the quick answer. I tried to find in the file report_saleorder_document the position of the recipient address. Possibly I am not experienced enough in QWeb or I am blind but I can not find this information. In can find the positioning of the content e.g. title etc. but not for the address. Can you give me a hint in which line I find this information? Thanks.


0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
PDF report name isn't respected when using module from app store
pdf reports
Avatar
0
Sep 21
3577
PDF reports show negative amounts with vertical bar "|" instead of "-". How can I fix this.?
pdf reports
Avatar
Avatar
1
May 18
4531
No css format on PDF reports after upgrade Odoo Server 10.0-20170119 ! (no headers) Solved
pdf reports
Avatar
Avatar
2
Jan 17
7716
Reports not auto-saved to attachments Solved
pdf reports
Avatar
Avatar
Avatar
3
Mar 15
8416
Add Customer Name to Printed Reports Name Solved
pdf reports 17.2
Avatar
Avatar
Avatar
2
Oct 24
3233
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now