Odoo Community Association

Sale Order Line Smart Button

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

This module adds a smart button on the Sale Order form giving quick access to a dedicated, searchable list of its order lines.

On large sale orders it can be hard to find a specific product line by scrolling through the “Order Lines” notebook page. This module opens a dedicated list/search view of the order’s lines (excluding sections and notes) so users can filter/search by product, customer or status, and adapt prices, quantities, UoM, discount, etc. directly from that list.

Editability of the fields mimics the standard Sale Order form: fields are readonly according to the same conditions used on sale.order.views (product_updatable, product_uom_readonly, qty_invoiced, is_downpayment), and the whole line becomes readonly once its order is cancelled or locked, matching the top-level readonly="state == 'cancel' or locked" gate applied to the order lines on the sale order form itself. The sale.order.line model already enforces this server-side when an order is locked, this module only makes the view consistent with that behavior.

Table of contents

Usage

#. Open a Sale Order. #. Click the “Order Lines” smart button in the button box. #. Search/filter/group the lines as needed, and edit prices, quantities, UoM, etc. where the order’s state allows it.

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

  • Camptocamp

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.

This module is part of the OCA/sale-workflow project on GitHub.

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