New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.0] Add account invoice split modules #97
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
ac84d05
[ADD] Add account_invoice_split module
adrienpeiffer d832a38
[ADD] Add account_invoice_split_purchase module
adrienpeiffer aaa0a06
[ADD] Add account_invoice_split_sale module
adrienpeiffer 519217d
[ADD] Add account_invoice_split_sale_stock module
adrienpeiffer 7056ee0
[ADD] Add account_invoice_split_payment module
adrienpeiffer 3adebd3
[CHG] Travis exclude/include
adrienpeiffer 3e2cd4e
[ADD][account_invoice_split_sale] Add auto_init method
adrienpeiffer 46b6cd2
[FIX][account_invoice_split] Raise an exception when there is nothing…
adrienpeiffer b47ae3d
[CHG][account_invoice_split] Use copy method instead of prepare all v…
adrienpeiffer 3ea8f07
[DEL][account_invoice_split_payment] Remove unecessary module accordi…
adrienpeiffer e0b5e17
[IMP][account_invoice_split] Typo
adrienpeiffer c7d55d9
[IMP][account_invoice_split] Use exists function to check if the reco…
adrienpeiffer ebae538
[FIX][account_invoice_split] Call unlink on invoice line as sudo
adrienpeiffer aa51451
[FIX] Suspend security at invoice split for sale and purchase
adrienpeiffer 4d9fa0b
[IMP][account_invoice_split] Recompute tax after split
adrienpeiffer b021419
[ADD] Add setup.py
adrienpeiffer File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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,57 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:alt: License: AGPL-3 | ||
|
||
===================== | ||
Account Invoice Split | ||
===================== | ||
|
||
This module was written to allow to divide the quantity of an invoice line by creating a new invoice. | ||
|
||
Installation | ||
============ | ||
|
||
To install this module, you need to: | ||
|
||
* Click on install button | ||
|
||
Usage | ||
===== | ||
|
||
* Open the invoice split wizard on more menu from invoice form view. | ||
|
||
.. 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 | ||
|
||
For further information, please visit: | ||
|
||
* https://www.odoo.com/forum/help-1 | ||
|
||
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:%20account_invoice_split%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Adrien Peiffer <adrien.peiffer@acsone.eu> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: http://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: http://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,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import wizard |
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,41 @@ | ||
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# This file is part of account_invoice_split, | ||
# an Odoo module. | ||
# | ||
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>) | ||
# | ||
# account_invoice_split is free software: | ||
# you can redistribute it and/or modify it under the terms of the GNU | ||
# Affero General Public License as published by the Free Software | ||
# Foundation,either version 3 of the License, or (at your option) any | ||
# later version. | ||
# | ||
# account_invoice_split is distributed | ||
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without | ||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR | ||
# PURPOSE. See the GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with account_invoice_split. | ||
# If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
{ | ||
'name': "Account Invoice Split", | ||
'summary': """ | ||
Split Quantity on invoice line""", | ||
'author': 'ACSONE SA/NV,' | ||
'Odoo Community Association (OCA)', | ||
'website': "http://acsone.eu", | ||
'category': 'Finance', | ||
'version': '8.0.1.0.0', | ||
'license': 'AGPL-3', | ||
'depends': [ | ||
'account', | ||
], | ||
'data': [ | ||
'wizard/account_invoice_split_view.xml', | ||
], | ||
} |
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,116 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * account_invoice_split | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-08-26 12:43+0000\n" | ||
"PO-Revision-Date: 2015-08-26 12:43+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: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,create_uid:0 | ||
#: field:account.invoice.split.line,create_uid:0 | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,create_date:0 | ||
#: field:account.invoice.split.line,create_date:0 | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,name:0 | ||
msgid "Description" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,id:0 | ||
#: field:account.invoice.split.line,id:0 | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
msgid "Invoice Line to Split in a new invoice" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,line_ids:0 | ||
msgid "Invoice lines to Split" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: code:addons/account_invoice_split/wizard/account_invoice_split.py:49 | ||
#, python-format | ||
msgid "Invoice must be draft not %s" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,write_uid:0 | ||
#: field:account.invoice.split.line,write_uid:0 | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,write_date:0 | ||
#: field:account.invoice.split.line,write_date:0 | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,origin_invoice_line_id:0 | ||
msgid "Origin Invoice Line" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,product_id:0 | ||
msgid "Product" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,quantity_to_split:0 | ||
msgid "Quantity to split in a new invoice" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: code:addons/account_invoice_split/wizard/account_invoice_split.py:117 | ||
#, python-format | ||
msgid "Quantity to split is greater\n" | ||
" than available quantity" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
#: model:ir.actions.act_window,name:account_invoice_split.action_view_invoice_split | ||
msgid "Split Invoice" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,total_quantity:0 | ||
msgid "Total Quantity" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,wizard_id:0 | ||
msgid "Wizard" | ||
msgstr "" | ||
|
||
#. module: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
msgid "or" | ||
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,116 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * account_invoice_split | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2015-08-27 14:10+0000\n" | ||
"PO-Revision-Date: 2015-08-27 14:10+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: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
msgid "Cancel" | ||
msgstr "Annuler" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,create_uid:0 | ||
#: field:account.invoice.split.line,create_uid:0 | ||
msgid "Created by" | ||
msgstr "Created by" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,create_date:0 | ||
#: field:account.invoice.split.line,create_date:0 | ||
msgid "Created on" | ||
msgstr "Created on" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,name:0 | ||
msgid "Description" | ||
msgstr "Description" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,id:0 | ||
#: field:account.invoice.split.line,id:0 | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
msgid "Invoice Line to Split in a new invoice" | ||
msgstr "Ligne de facture à diviser dans une nouvelle facture" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,line_ids:0 | ||
msgid "Invoice lines to Split" | ||
msgstr "Lignes de facture à diviser" | ||
|
||
#. module: account_invoice_split | ||
#: code:addons/account_invoice_split/wizard/account_invoice_split.py:49 | ||
#, python-format | ||
msgid "Invoice must be draft not %s" | ||
msgstr "La facture dans être dans l'état brouillon, pas %s" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,write_uid:0 | ||
#: field:account.invoice.split.line,write_uid:0 | ||
msgid "Last Updated by" | ||
msgstr "Last Updated by" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split,write_date:0 | ||
#: field:account.invoice.split.line,write_date:0 | ||
msgid "Last Updated on" | ||
msgstr "Last Updated on" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,origin_invoice_line_id:0 | ||
msgid "Origin Invoice Line" | ||
msgstr "Ligne de facture d'origine" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,product_id:0 | ||
msgid "Product" | ||
msgstr "Produit" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,quantity_to_split:0 | ||
msgid "Quantity to split in a new invoice" | ||
msgstr "Quantité à diviser dans une nouvelle facture" | ||
|
||
#. module: account_invoice_split | ||
#: code:addons/account_invoice_split/wizard/account_invoice_split.py:119 | ||
#, python-format | ||
msgid "Quantity to split is greater\n" | ||
" than available quantity" | ||
msgstr "La quantité à divier est plus grande\n" | ||
" que la quantité disponible" | ||
|
||
#. module: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
#: model:ir.actions.act_window,name:account_invoice_split.action_view_invoice_split | ||
msgid "Split Invoice" | ||
msgstr "Diviser la facture" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,total_quantity:0 | ||
msgid "Total Quantity" | ||
msgstr "Quantité totale" | ||
|
||
#. module: account_invoice_split | ||
#: field:account.invoice.split.line,wizard_id:0 | ||
msgid "Wizard" | ||
msgstr "Assistant" | ||
|
||
#. module: account_invoice_split | ||
#: view:account.invoice.split:account_invoice_split.view_invoice_split | ||
msgid "or" | ||
msgstr "Ou" |
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,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import test_account_invoice_split |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this can't be tested together with the rest?