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
    • Artificial Intelligence
    • 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
    • Property 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
    • Referral Program
    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
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

Merging Sales and Purchase data into one report on Odoo Online?

Subscribe

Get notified when there's activity on this post

This question has been flagged
purchasesalesaccountingreporting
4 Replies
1649 Views
Avatar
Md Asiqur Rahman

Hey guys, I have a client on Odoo Online (standard SaaS) who wants a custom report that I’m not sure is doable without Odoo.sh. They want a "Product Activity Statement" that basically lists every time a specific product was bought (Purchasing) and every time it was sold (Sales) in one combined table or page.

Basically, they want to go to a Product, hit Print, and see a history of both inbound and outbound transactions. Since I'm stuck with just Odoo Studio, is there a way to pull lines from both sale.order and purchase.order into a single report? I can't write custom Python for this, so I’m looking for a workaround using the report designer or maybe some hidden XML tricks. Is this possible, or do I have to tell them it's an Odoo.sh-only job? Thanks!

0
Avatar
Discard
Jomar

It depends on what details the client wants to see. If they only need quantities, the “Moves History” report is sufficient. You can filter the movements by Sales or Purchases and then use an Export Template to generate the format they want.

Avatar
Chris TRINGHAM
Best Answer

Your best option is to use the stock transfers, so you can pick up the Delivery Orders (from Sales Orders) and receipts (from Purchase Orders). It's simple enough to add a filter to the Moves History (stock.move.line)


0
Avatar
Discard
Avatar
CandidRoot Solutions
Best Answer
Hello Asiqur,

Your understanding is correct, and you are not missing anything.

In Odoo Online (Standard SaaS), it is not possible to create a single
custom report that combines data from both Purchase Order Lines and
Sales Order Lines into one printable “Product Activity Statement”
using only Odoo Studio or the report designer.

Reason:
- Studio and report designer work on a single model at a time
- They cannot merge data from unrelated models such as:
  sale.order.line and purchase.order.line
- No Python or SQL logic is allowed on Odoo Online

What IS possible on Odoo Online:
- View sales history from the product smart buttons
- View purchase history separately
- Use analysis views (pivot/list) per module
- Export data separately (manual workaround)

What is NOT possible:
- A single combined printable report (Sales + Purchases)
- A custom “Product Activity Statement” under the Print menu

Recommended solution:
- This requirement needs Odoo.sh or On-Premise
- With custom Python / SQL, both inbound and outbound lines can be
  merged into one report cleanly

Conclusion:
This is not achievable on Odoo Online with Studio alone.
You would need Odoo.sh or On-Premise to implement it properly.

If this helped, kindly upvote.

Best Regards,

CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209
Email: info@candidroot.com
Web: https://www.candidroot.com


1
Avatar
Discard
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer
Hi,

In Odoo Online, this request is not feasible due to platform limitations. Odoo Studio and the report designer can only work with a single model and cannot combine data from unrelated models like sales order lines and purchase order lines.

As a result, creating a unified “Product Activity Statement” that shows both purchases and sales in one report is not possible on Odoo Online. While you can view sales and purchases separately through smart buttons or analysis reports, a combined, printable history requires server-side logic.

This type of report does require Odoo.sh or on-premise hosting, where custom Python or SQL can merge both datasets into a single report.

Hope it helps

-2
Avatar
Discard
Avatar
Jose
Best Answer

You have two options


1. The free option: create related fields using Odoo Studio in one of the modules to supplement the report information and finally create a PDF report using the native Odoo PDF report editor.


2. Purchase the https://apps.odoo.com/apps/modules/11.0/reports_designer module to design a report in Excel using templates.


-2
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
currency exchange sale
purchase sales accounting
Avatar
Avatar
1
May 25
3209
Cash Basis Accounting
purchase sales accounting
Avatar
0
Jun 15
5134
Reset my inventory, Sales, Purchasing and accounting database
purchase sales accounting finance
Avatar
Avatar
1
Dec 25
4481
Creation de demo sur odoo.com
purchase sales accounting inventory
Avatar
0
Jun 22
5499
accounting sales and purchase
purchase sales accounting inventory
Avatar
Avatar
1
Nov 19
5387
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 Svenska ภาษาไทย 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