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
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Purchase
  3. Purchase Refund: Vendor Credit Notes for Returned Quantities v 20.0
  4. Sales Conditions FAQ

Purchase Refund: Vendor Credit Notes for Returned Quantities

by Aerya IT Solutions https://aerya.net
Odoo

$ 4.38

v 20.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Aerya Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions

Returns to the vendor on their own credit note

When a purchase order has received quantities to bill and returned quantities at the same time, Odoo's Create Bill makes one bill with negative lines, a document your vendor never issues. This module makes a vendor bill for what arrived and a vendor credit note for what went back, with positive quantities.

Create Bill splits a mixed bill into a bill and a credit note
Positive quantities on the credit note, same prices and taxes
Each document links to the other in its chatter
Company option, on by default

Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.

The vendor credit note made from the returns

Screenshots of Odoo 17 Enterprise with the data of a fictitious company.

11 automated tests on each version
mixed orders, only returns, the company option, credit notes from an order, settings and forms in the browser
Code checked with flake8 and pylint-odoo
no warnings, on the four versions
Odoo core only
Community and Enterprise

One click, two documents

On a purchase order with returns, Create Bill opens both documents: the vendor bill of the received quantities and the vendor credit note of the returned ones, each with the vendor, the order, the vendor reference, the payment terms and the journal of the order.

The purchase order with its bill and credit note

They know about each other

The bill notes where the returned quantities went, the credit note where it comes from. The billed quantities of the order stay exact: the credit note lowers them like a negative bill line would.

The note on the bill

More screenshots

The option in the Purchase settings

The option in the Purchase settings

The problem: a bill with negative lines

You received part of an order and sent part of it back. When you click Create Bill, Odoo puts the received quantities and the returned ones on one vendor bill, the returned ones as negative lines. Your vendor never issued such a document: they bill the goods they delivered and credit the goods that came back, on two documents. A bill with negative lines is hard to match against the vendor's real bill and credit note, and in Romania the e-Factura types are different (380 for the invoice, 381 for the credit note).

What the module does

Purchase Refund splits that bill. Create Bill on a purchase order with both received and returned quantities makes a vendor bill for what arrived and a vendor credit note for what went back, with positive quantities. It needs only the Purchase app.

How it works, step by step

  1. Work as usual. Receive the goods, then return part of them, in Inventory.
  2. Click Create Bill on the purchase order. When some quantities to bill are positive (received, not billed) and some negative (billed, then returned), the module splits the result.
  3. Read the two documents. The positive lines stay on the vendor bill. The negative ones move to a new vendor credit note with positive quantities, the same price, taxes, analytic distribution and purchase order line.
  4. Follow the links. The chatter of each document says where the other one is.
  5. Check and post. Compare both with the vendor's documents and post them.

Details that matter

  • When returns outweigh receipts, Odoo itself turns the bill into a credit note. The module then moves the received quantities to a bill of their own.
  • The credit note from the order (Odoo 17 and 18). The Auto-Complete field of vendor bills is also shown on vendor credit notes. Choosing a purchase order brings only its returned quantities, as positive quantities. Odoo 19 and 20 do this themselves, so the module leaves it to them there.
  • Only drafts made by Create Bill are split. Posted documents are never touched, and a bill you enter by hand is left alone.
  • Orders with only receipts, or only returns, are left to Odoo.

Settings and access

One company option, Separate Vendor Credit Notes for Returns, in Purchase > Configuration > Settings > Invoicing. It is on by default. Switch it off and Odoo's single bill comes back. The module adds no menu and no access group: whoever may create a bill from an order gets the split.

What it does not do

  • It does not split bills entered by hand, only the result of Create Bill.
  • It does not match the credit note with the vendor's own document. You compare them and post them.
  • It does not touch posted documents.
  • It does not change how Odoo receives or returns goods.

Requirements

Odoo 17, 18, 19 and 20, Community and Enterprise. It needs only the Odoo Purchase app (purchase). It has Python code, so it runs on Odoo.sh and on-premise, not on Odoo Online. Translations: Spanish and Romanian.

Questions

Can I keep the single bill?

Yes. Switch off Separate Vendor Credit Notes for Returns in the Purchase settings.

Are the prices and taxes the same on the credit note?

Yes. The credit note takes the same price, taxes, analytic distribution and purchase order line, with positive quantities.

Does it change a posted bill?

No. Only the draft documents made by Create Bill are split.

Do the billed quantities of the order stay right?

Yes. The credit note lowers them like a negative bill line would.

What happens if I uninstall it?

Create Bill goes back to Odoo's own behaviour. The documents already made stay as they are.

Explore our other apps

More modules by Aerya IT Solutions for Odoo 20, built to work together.

Supplier Price Comparison on Purchase Orders

Compare vendors on a request for quotation: every vendor price of the products

75 EUR · View on the store →

Blanket Purchase Order and Blanket Order

Purchase agreement with a vendor: blanket order for a period, call-off order from it

50 EUR · View on the store →

Purchase Prepayment

Request an advance payment purchase order, register a purchase down payment

50 EUR · View on the store →

Vendor Lead Time

Measure the real supplier lead time (vendor lead time) from confirmed purchase orders and

49 EUR · View on the store →

Purchase Order Approval

PO approval, purchase approval: approval chain by order amount, approvers and substitutes

29 EUR · View on the store →

Purchase Order Checklist

Purchase order checklist and purchase checklist: templates per vendor tag or product category

29 EUR · View on the store →

Questions or a custom quote?

Write to info@aerya.ro for questions about the module, its installation or custom development.

Aerya

Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Purchase (purchase)
• Invoicing (account)
• Discuss (mail)
Lines of code 145
Technical Name aerya_purchase_refund
LicenseOPL-1
Websitehttps://aerya.net
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
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

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