Skip to main content

Add a direct button to create bills from purchase orders

Project description

Odoo Community Association

Purchase Create Bill Button

Production/Stable License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runboat

This module restores the direct “Create Bill” button on purchase order forms that was available in earlier Odoo versions but was removed in the v18 to v19 migration by Odoo core.

It adds a button in the header of the purchase order form to quickly create a vendor bill directly from the purchase order.

Table of contents

Use Cases / Context

Business need: In previous Odoo versions, users could create a vendor bill directly from a purchase order with a single click using a dedicated button in the form header. Starting from Odoo v19, this button was removed from the core purchase module, forcing users to directly upload the invoice file.

Approach: This module adds back the “Create Bill” button in the purchase order form by inheriting the purchase.purchase_order_form view and inserting the button in the same position, right after the existing action buttons. It respects the same visibility conditions based on the order state and invoice status.

Useful information: This module only depends on the core purchase module, making it lightweight and easy to install. It is compatible with any other module that extends purchase order functionality.

Usage

To use this module, you need to:

  1. Go to Purchases > Orders > Purchase Orders.

  2. Open or create a purchase order.

  3. Once the purchase order is confirmed (in Purchase state), a Create Bill button will appear in the form header.

  4. Click Create Bill to generate the vendor bill directly from the purchase order.

Changelog

19.0.1.0.0 (2026-05-26)

  • Initial release: Add “Create Bill” button back to purchase order form.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Madetosoft

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

jarcosmts ograciamts

This module is part of the OCA/account-invoicing project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_purchase_create_bill_button-19.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_purchase_create_bill_button-19.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0bce8bae91af7c47084df23ab0e608d851a4193e98a8c3618c12eaa4c653f427
MD5 143a527d936eaa34fcf4d29ff7619bfd
BLAKE2b-256 cf2d32f8e45ed40d60180867bacfc518f6a628b0d72cfed5e69a795171755485

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page