diff --git a/account_payment_sale_stock/README.rst b/account_payment_sale_stock/README.rst deleted file mode 100644 index d2398daa0..000000000 --- a/account_payment_sale_stock/README.rst +++ /dev/null @@ -1,75 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :alt: License: AGPL-3 - -Account Payment Sale Stock -========================== - -This module should be used when the invoice is based on the delivery order. - -This module copies *Payment Mode* from sale order to invoice when it is -generated from the delivery order. - -Installation -============ - -This module depends on : -- sale_stock -- account_payment_sale - -This module is part of the OCA/bank-payment suite. - -Configuration -============= - -There is nothing to configure. - -Usage -===== - -You are able to add a payment mode directly on a partner. -This payment mode is automatically associated to the sale order, then on related invoice. -This default value could be change in a draft sale order or draft invoice. -When you create an direct debit order, only invoices related to chosen payment mode are displayed. -Invoices without any payment mode are displayed to. - -For further information, please visit: - - * https://www.odoo.com/forum/help-1 - -Known issues / Roadmap -====================== - - * No known issues. - -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 smashing it by providing a detailed and welcomed feedback -`here `_. - -Credits -======= - -Contributors ------------- - -* Pedro M. Baeza -* Alexis de Lattre -* Alexandre Fayolle -* Danimar Ribeiro -* Raphaël Valyi - -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. diff --git a/account_payment_sale_stock/__init__.py b/account_payment_sale_stock/__init__.py deleted file mode 100644 index b5fc83a16..000000000 --- a/account_payment_sale_stock/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Account Payment Sale Stock module for OpenERP -# Copyright (C) 2014 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# This program 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. -# -# This program 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 this program. If not, see . -# -############################################################################## - -from . import models diff --git a/account_payment_sale_stock/__openerp__.py b/account_payment_sale_stock/__openerp__.py deleted file mode 100644 index 314a9938f..000000000 --- a/account_payment_sale_stock/__openerp__.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Account Payment Sale Stock module for OpenERP -# Copyright (C) 2014 Akretion (http://www.akretion.com). -# @author Alexis de Lattre -# -# This program 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. -# -# This program 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 this program. If not, see . -# -############################################################################## - -{ - 'name': 'Account Payment Sale Stock', - 'version': '8.0.1.0.0', - 'category': 'Banking addons', - 'license': 'AGPL-3', - 'summary': "Manage payment mode when invoicing a sale from picking", - 'author': "Akretion, " - "Serv. Tecnol. Avanzados - Pedro M. Baeza, " - "Odoo Community Association (OCA)", - 'website': 'https://github.com/OCA/bank-payment', - 'depends': ['sale_stock', - 'account_payment_sale'], - 'conflicts': ['account_payment_extension'], - 'auto_install': True, - 'installable': False, -} diff --git a/account_payment_sale_stock/i18n/account_payment_sale_stock.pot b/account_payment_sale_stock/i18n/account_payment_sale_stock.pot deleted file mode 100644 index 2250652bb..000000000 --- a/account_payment_sale_stock/i18n/account_payment_sale_stock.pot +++ /dev/null @@ -1,21 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-31 23:01+0000\n" -"PO-Revision-Date: 2014-10-31 23:01+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_payment_sale_stock -#: model:ir.model,name:account_payment_sale_stock.model_stock_picking -msgid "Picking List" -msgstr "" - diff --git a/account_payment_sale_stock/i18n/es.po b/account_payment_sale_stock/i18n/es.po deleted file mode 100644 index 69200f01b..000000000 --- a/account_payment_sale_stock/i18n/es.po +++ /dev/null @@ -1,21 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-31 23:01+0000\n" -"PO-Revision-Date: 2014-10-31 23:01+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_payment_sale_stock -#: model:ir.model,name:account_payment_sale_stock.model_stock_picking -msgid "Picking List" -msgstr "Albarán" - diff --git a/account_payment_sale_stock/i18n/fr.po b/account_payment_sale_stock/i18n/fr.po deleted file mode 100644 index e9576f2d9..000000000 --- a/account_payment_sale_stock/i18n/fr.po +++ /dev/null @@ -1,23 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_payment_sale_stock -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: bank-payment (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-08 00:46+0000\n" -"PO-Revision-Date: 2016-04-06 00:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-bank-payment-8-0/language/fr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: account_payment_sale_stock -#: model:ir.model,name:account_payment_sale_stock.model_stock_picking -msgid "Picking List" -msgstr "Bon de livraison" diff --git a/account_payment_sale_stock/i18n/nl.po b/account_payment_sale_stock/i18n/nl.po deleted file mode 100644 index f34ec8162..000000000 --- a/account_payment_sale_stock/i18n/nl.po +++ /dev/null @@ -1,23 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_payment_sale_stock -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: bank-payment (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-08 00:46+0000\n" -"PO-Revision-Date: 2016-04-06 00:16+0000\n" -"Last-Translator: <>\n" -"Language-Team: Dutch (http://www.transifex.com/oca/OCA-bank-payment-8-0/language/nl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: account_payment_sale_stock -#: model:ir.model,name:account_payment_sale_stock.model_stock_picking -msgid "Picking List" -msgstr "Verzamellijst" diff --git a/account_payment_sale_stock/i18n/pt_BR.po b/account_payment_sale_stock/i18n/pt_BR.po deleted file mode 100644 index 5b659502c..000000000 --- a/account_payment_sale_stock/i18n/pt_BR.po +++ /dev/null @@ -1,21 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 8.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-10-31 23:01+0000\n" -"PO-Revision-Date: 2014-10-31 23:01+0000\n" -"Last-Translator: Danimar Ribeiro \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_payment_sale_stock -#: model:ir.model,name:account_payment_sale_stock.model_stock_picking -msgid "Picking List" -msgstr "Lista de separação" - diff --git a/account_payment_sale_stock/i18n/sl.po b/account_payment_sale_stock/i18n/sl.po deleted file mode 100644 index 01b4aec33..000000000 --- a/account_payment_sale_stock/i18n/sl.po +++ /dev/null @@ -1,23 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * account_payment_sale_stock -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: bank-payment (8.0)\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-04-08 00:46+0000\n" -"PO-Revision-Date: 2016-04-08 05:50+0000\n" -"Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-bank-payment-8-0/language/sl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" - -#. module: account_payment_sale_stock -#: model:ir.model,name:account_payment_sale_stock.model_stock_picking -msgid "Picking List" -msgstr "Zbirni seznam" diff --git a/account_payment_sale_stock/models/__init__.py b/account_payment_sale_stock/models/__init__.py deleted file mode 100644 index 66edd9dbe..000000000 --- a/account_payment_sale_stock/models/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Account Payment Sale Stock module for OpenERP -# Copyright (C) 2014 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# This program 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. -# -# This program 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 this program. If not, see . -# -############################################################################## - -from . import stock_picking diff --git a/account_payment_sale_stock/models/stock_picking.py b/account_payment_sale_stock/models/stock_picking.py deleted file mode 100644 index 71d054c09..000000000 --- a/account_payment_sale_stock/models/stock_picking.py +++ /dev/null @@ -1,35 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# This program 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. -# -# This program 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 this program. If not, see . -# -############################################################################## - -from openerp import models, api - - -class StockPicking(models.Model): - _inherit = "stock.picking" - - @api.model - def _create_invoice_from_picking(self, picking, vals): - # This will assure that stock_dropshipping_dual_invoice will work - inv_type = self.env.context.get('inv_type', 'out_invoice') - if picking and picking.sale_id and inv_type == 'out_invoice': - sale_order = picking.sale_id - if sale_order.payment_mode_id: - vals['partner_bank_id'] = sale_order.payment_mode_id.bank_id.id - vals['payment_mode_id'] = sale_order.payment_mode_id.id - return super(StockPicking, self)._create_invoice_from_picking( - picking, vals) diff --git a/account_payment_sale_stock/static/description/icon.png b/account_payment_sale_stock/static/description/icon.png deleted file mode 100644 index 3a0328b51..000000000 Binary files a/account_payment_sale_stock/static/description/icon.png and /dev/null differ