Sales Stock Picking Invoicing
Project description
Sales Stock Picking Invoicing
This module extends Stock Picking Invoicing implementation to Sale, you can define the ‘Sale Invoicing Policy’:
If set to Sale Order, keep native Odoo behaviour for creation of invoices from Sale Orders.
If set to Stock Picking, disallow creation of Invoices from Sale Orders for the cases where the Product Type is ‘consu’, in case of ‘Service’ still will be possible create from Sale Order.
If set to Sale Order and Stock Picking, invoices can be created from both the Sale Order and the Stock Picking. When invoicing from the Sale Order, the related picking is automatically marked as invoiced. The picking wizard also caps quantities to prevent double invoicing when some units were already invoiced from the Sale Order.
For stock.moves, override price calculation that is present in stock_picking_invoicing, with the native Sale Order Line price calculation, same for the partner_id and other informations used to create the Invoice from Sale Order as such Payment Terms, Down Payments, Incoterm, Client Ref,etc by using sale methods to get data in order to avoid the necessity of ‘glue modules’ (small modules made just to avoid indirect dependencies), so in the case of any module include a new field in Invoice created by Sale this field also be include when created by Picking, for example the modules Account Payment Sale and Sale Commission.
Table of contents
Installation
This module depends on:
sale_management
sale_stock
stock_picking_invoicing
stock_picking_invoice_link
Configuration
Define ‘Sale Invoicing Policy’, if the invoice should be created from Sale Order or from Stock Picking, go to:
Settings > Users & Companies > Companies
or
Sales > Configuration > Settings in Invoicing
Usage
If ‘Stock Picking’ is chosen as Policy, the creation of Invoice from Sale Order works only for Service lines. In the case of Sale Order with products and service lines, two Invoices will be created (one from the SO with services, one from the picking with products).
If ‘Sale Order and Stock Picking’ is chosen, invoices can be created from both the Sale Order and the Stock Picking. When invoicing from the Sale Order, the related picking invoice state is automatically synced. The picking wizard prevents double invoicing by capping quantities to what remains to invoice on the sale line.
Known issues / Roadmap
It is be possible reference multiple sale lines in only one invoice line, but there are a problem the field qty_invoiced in sale.order.line show the quantity of invoice line without consider, in this case, that the value is the sum of others sale lines https://github.com/odoo/odoo/blob/14.0/addons/sale/models/sale.py#L1230, what can make confuse the user about the real Invoiced Quantity, reference https://github.com/odoo/odoo/pull/77195
Changelog
16.0.1.0.0 (2025-01-14)
Migration to version 16.0
15.0.1.0.0 (2024-10-25)
Migration to version 15.0 .
14.0.1.0.0 (2024-03-12)
[ADD] Module sale_stock_picking_invoicing based in l10n_br_sale_stock https://github.com/OCA/l10n-brazil/tree/14.0/l10n_br_sale_stock .
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
Contributors
-
Renato Lima <renato.lima@akretion.com.br>
Raphaël Valyi <raphael.valyi@akretion.com.br>
Magno Costa <magno.costa@akretion.com.br>
KMEE:
Gabriel Cardoso de Faria <gabriel.cardoso@kmee.com.br> APSL-Nagarro:
Patryk Pyczko <ppyczko@apsl.net>
Maintainers
This module is maintained by the OCA.
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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_sale_stock_picking_invoicing-18.0.2.1.0-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_sale_stock_picking_invoicing-18.0.2.1.0-py3-none-any.whl
- Upload date:
- Size: 56.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94f817806e12a52a869bfe1d4c906e8065e6da532b141ded86622167a60b3c4b
|
|
| MD5 |
8e78ffdd5c859674f5d6f5a6b06b7b76
|
|
| BLAKE2b-256 |
d480d4d4592c0752161607842cff7ab11713db3f1965c1b629f6301f920dc72f
|