-
-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
870 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
================================================ | ||
Invoices created from picking grouped by product | ||
================================================ | ||
|
||
This module allows you to group invoices generated from picking by product | ||
or by product category. | ||
This is possible by selecting the related option in the wizard used | ||
for creating draft invoices. | ||
|
||
Example | ||
-------- | ||
|
||
Created the following pickings: | ||
|
||
1. picking_1 - partner_1 | ||
1. product_A - category_1 | ||
2. product_B - category_2 | ||
2. picking_2 - partner_2 | ||
1. product_C - category_2 | ||
2. product_D - category_3 | ||
3. picking_3 - partner_1 | ||
1. product_C - category_2 | ||
2. product_D - category_3 | ||
3. product_A - category_1 | ||
|
||
Selecting option 'Group by product category' I get the following invoices: | ||
|
||
1. invoice_1 - partner_1 | ||
1. product_A - category_1 --> picking_1 | ||
2. product_A - category_1 --> picking_3 | ||
2. invoice_2 - partner_1 | ||
1. product_B - category_2 --> picking_1 | ||
2. product_C - category_2 --> picking_3 | ||
3. invoice_3 - partner_1 | ||
1. product_D - category_3 --> picking_3 | ||
4. invoice_4 - partner_2 | ||
1. product_C - category_2 --> picking_2 | ||
5. invoice_5 - partner_2 | ||
1. product_D - category_3 --> picking_2 | ||
|
||
On the contrary if I select option 'Group by product' I get the following | ||
invoices: | ||
|
||
1. invoice_1 - partner_1 | ||
1. product_A - category_1 --> picking_1 | ||
2. product_A - category_1 --> picking_3 | ||
2. invoice_2 - partner_1 | ||
1. product_B - category_2 --> picking_1 | ||
3. invoice_3 - partner_1 | ||
1. product_C - category_2 --> picking_3 | ||
4. invoice_4 - partner_1 | ||
1. product_D - category_3 --> picking_3 | ||
5. invoice_5 - partner_2 | ||
1. product_C - category_2 --> picking_2 | ||
6. invoice_6 - partner_2 | ||
1. product_D - category_3 --> picking_2 | ||
|
||
Usage | ||
===== | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/95/8.0 | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account_invoicing/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback | ||
`here <https://github.com/OCA/account-invoicing/issues/new?body=module:%20stock_picking_invoice_product_group%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Alex Comba <alex.comba@agilebg.com> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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. | ||
|
||
To contribute to this module, please visit http://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Alex Comba - Agile Business Group | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import models | ||
from . import wizard | ||
from .post_init import post_init_hook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Alex Comba - Agile Business Group | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
{ | ||
'name': 'Stock invoices grouped by product', | ||
'summary': | ||
'Invoices created from picking grouped by product or by product category', | ||
'version': '8.0.1.0.0', | ||
'category': 'Generic Modules/Accounting', | ||
'author': "Agile Business Group, Odoo Community Association (OCA)", | ||
'website': 'http://www.agilebg.com', | ||
'license': 'AGPL-3', | ||
'depends': [ | ||
'stock_picking_invoice_link', | ||
], | ||
'data': [ | ||
'views/account_invoice_view.xml', | ||
'wizard/stock_invoice_onshipping_view.xml', | ||
], | ||
'demo': [ | ||
'demo/product.xml', | ||
], | ||
'installable': True, | ||
'post_init_hook': 'post_init_hook', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data noupdate="1"> | ||
|
||
<!-- Resource: res.partner --> | ||
|
||
<record id="partner_1" model="res.partner"> | ||
<field name="name">Partner 1</field> | ||
</record> | ||
<record id="partner_2" model="res.partner"> | ||
<field name="name">Partner 2</field> | ||
</record> | ||
|
||
<!-- Resource: product.category --> | ||
|
||
<record id="category_1" model="product.category"> | ||
<field name="name">Category 1</field> | ||
</record> | ||
<record id="category_2" model="product.category"> | ||
<field name="name">Category 2</field> | ||
</record> | ||
<record id="category_3" model="product.category"> | ||
<field name="name">Category 3</field> | ||
</record> | ||
|
||
<!-- Resource: product.product --> | ||
|
||
<record id="product_A" model="product.product"> | ||
<field name="name">Product A</field> | ||
<field name="categ_id" ref="category_1"/> | ||
</record> | ||
<record id="product_B" model="product.product"> | ||
<field name="name">Product B</field> | ||
<field name="categ_id" ref="category_2"/> | ||
</record> | ||
<record id="product_C" model="product.product"> | ||
<field name="name">Product C</field> | ||
<field name="categ_id" ref="category_2"/> | ||
</record> | ||
<record id="product_D" model="product.product"> | ||
<field name="name">Product D</field> | ||
<field name="categ_id" ref="category_3"/> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_picking_invoice_product_group | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-09-10 13:12+0000\n" | ||
"PO-Revision-Date: 2015-09-10 15:38+0100\n" | ||
"Last-Translator: Alex Comba <alex.comba@agilebg.com>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: \n" | ||
"Language: it\n" | ||
"X-Generator: Poedit 1.7.5\n" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.category,name:stock_picking_invoice_product_group.category_1 | ||
msgid "Category 1" | ||
msgstr "Category 1" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.category,name:stock_picking_invoice_product_group.category_2 | ||
msgid "Category 2" | ||
msgstr "Category 2" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.category,name:stock_picking_invoice_product_group.category_3 | ||
msgid "Category 3" | ||
msgstr "Category 3" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: field:stock.invoice.onshipping,group_type:0 | ||
msgid "Group Type" | ||
msgstr "Tipo Raggruppo" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: selection:stock.invoice.onshipping,group_type:0 | ||
msgid "Group by product" | ||
msgstr "Raggruppo per Prodotto" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: selection:stock.invoice.onshipping,group_type:0 | ||
msgid "Group by product category" | ||
msgstr "Raggruppo per Categoria" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_account_invoice | ||
msgid "Invoice" | ||
msgstr "Fattura" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_stock_picking | ||
msgid "Picking List" | ||
msgstr "Picking List" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_A_product_template | ||
msgid "Product A" | ||
msgstr "Product A" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_B_product_template | ||
msgid "Product B" | ||
msgstr "Product B" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_C_product_template | ||
msgid "Product C" | ||
msgstr "Product C" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_D_product_template | ||
msgid "Product D" | ||
msgstr "Product D" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: field:account.invoice,related_picking_ids:0 | ||
msgid "Related Pickings" | ||
msgstr "Picking collegati" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: help:account.invoice,related_picking_ids:0 | ||
msgid "Related pickings (only when the invoice has been generated from the picking)." | ||
msgstr "Picking collegati (solo quando la fattura è stata generata a partire da un picking)." | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_stock_invoice_onshipping | ||
msgid "Stock Invoice Onshipping" | ||
msgstr "Fattura su spedizioni" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_stock_move | ||
msgid "Stock Move" | ||
msgstr "Movimento di magazzino" |
97 changes: 97 additions & 0 deletions
97
stock_picking_invoice_product_group/i18n/stock_picking_invoice_product_group.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * stock_picking_invoice_product_group | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-09-10 13:09+0000\n" | ||
"PO-Revision-Date: 2015-09-10 13:09+0000\n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.category,name:stock_picking_invoice_product_group.category_1 | ||
msgid "Category 1" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.category,name:stock_picking_invoice_product_group.category_2 | ||
msgid "Category 2" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.category,name:stock_picking_invoice_product_group.category_3 | ||
msgid "Category 3" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: field:stock.invoice.onshipping,group_type:0 | ||
msgid "Group Type" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: selection:stock.invoice.onshipping,group_type:0 | ||
msgid "Group by product" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: selection:stock.invoice.onshipping,group_type:0 | ||
msgid "Group by product category" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_account_invoice | ||
msgid "Invoice" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_stock_picking | ||
msgid "Picking List" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_A_product_template | ||
msgid "Product A" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_B_product_template | ||
msgid "Product B" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_C_product_template | ||
msgid "Product C" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:product.template,name:stock_picking_invoice_product_group.product_D_product_template | ||
msgid "Product D" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: field:account.invoice,related_picking_ids:0 | ||
msgid "Related Pickings" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: help:account.invoice,related_picking_ids:0 | ||
msgid "Related pickings (only when the invoice has been generated from the picking)." | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_stock_invoice_onshipping | ||
msgid "Stock Invoice Onshipping" | ||
msgstr "" | ||
|
||
#. module: stock_picking_invoice_product_group | ||
#: model:ir.model,name:stock_picking_invoice_product_group.model_stock_move | ||
msgid "Stock Move" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
# (c) 2015 Alex Comba - Agile Business Group | ||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html | ||
|
||
from . import account_invoice | ||
from . import stock_move | ||
from . import stock_picking |
Oops, something went wrong.