mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[DEL] remove invoicing_voucher_killer (moved to OCA/bank-payment)
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (c) 2013 Camptocamp SA (http://www.camptocamp.com)
|
||||
# @author Nicolas Bessi
|
||||
#
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
@@ -1,39 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# Copyright (c) 2013 Camptocamp SA (http://www.camptocamp.com)
|
||||
# @author Nicolas Bessi
|
||||
#
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{'name': 'Invoicing voucher killer',
|
||||
'version': '1.0.0',
|
||||
'category': 'other',
|
||||
'description': """
|
||||
Prevent the usage of voucher from invoices
|
||||
##########################################
|
||||
This add-on will disable "Register Payment" button
|
||||
""",
|
||||
'author': 'Camptocamp',
|
||||
'website': 'http://www.camptocamp.com',
|
||||
'depends': ['account_voucher'],
|
||||
'data': ['invoice_data.xml',
|
||||
'invoice_view.xml'],
|
||||
'demo_xml': [],
|
||||
'test': [],
|
||||
'installable': False,
|
||||
'active': False,
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
# Spanish translation for banking-addons
|
||||
# Copyright (c) 2014 Rosetta Contributors and Canonical Ltd 2014
|
||||
# This file is distributed under the same license as the banking-addons package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: banking-addons\n"
|
||||
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"POT-Creation-Date: 2014-01-21 12:00+0000\n"
|
||||
"PO-Revision-Date: 2014-06-05 22:47+0000\n"
|
||||
"Last-Translator: Pedro Manuel Baeza <pedro.baeza@gmail.com>\n"
|
||||
"Language-Team: Spanish <es@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Launchpad-Export-Date: 2014-06-06 06:36+0000\n"
|
||||
"X-Generator: Launchpad (build 17031)\n"
|
||||
|
||||
#. module: invoicing_voucher_killer
|
||||
#: view:account.invoice:0
|
||||
msgid "Pay"
|
||||
msgstr "Pagar"
|
||||
|
||||
#. module: invoicing_voucher_killer
|
||||
#: model:res.groups,name:invoicing_voucher_killer.invoice_voucher_user
|
||||
msgid "Use voucher in Invoices"
|
||||
msgstr "Usar resguardos en facturas"
|
||||
|
||||
#. module: invoicing_voucher_killer
|
||||
#: view:account.invoice:0
|
||||
msgid "Register Payment"
|
||||
msgstr "Registrar pago"
|
||||
@@ -1,32 +0,0 @@
|
||||
# Translation of OpenERP Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * invoicing_voucher_killer
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: OpenERP Server 7.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-01-21 12:00+0000\n"
|
||||
"PO-Revision-Date: 2014-01-21 12:00+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: invoicing_voucher_killer
|
||||
#: view:account.invoice:0
|
||||
msgid "Pay"
|
||||
msgstr ""
|
||||
|
||||
#. module: invoicing_voucher_killer
|
||||
#: model:res.groups,name:invoicing_voucher_killer.invoice_voucher_user
|
||||
msgid "Use voucher in Invoices"
|
||||
msgstr ""
|
||||
|
||||
#. module: invoicing_voucher_killer
|
||||
#: view:account.invoice:0
|
||||
msgid "Register Payment"
|
||||
msgstr ""
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="invoice_voucher_user" model="res.groups">
|
||||
<field name="name">Use voucher in Invoices</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -1,46 +0,0 @@
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="invoice_voucher_group" model="ir.ui.view">
|
||||
<field name="name">Hide voucher in invoice</field>
|
||||
<field name="model">account.invoice</field>
|
||||
<field name="inherit_id" ref="account_voucher.view_invoice_customer" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='invoice_pay_customer'][last()]"
|
||||
position="replace">
|
||||
<button name="invoice_pay_customer"
|
||||
type="object"
|
||||
string="Register Payment"
|
||||
attrs="{'invisible': ['|', ('state','!=','open'), ('sent','=',True)]}"
|
||||
groups="invoicing_voucher_killer.invoice_voucher_user"/>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='invoice_pay_customer'][1]"
|
||||
position="replace">
|
||||
<button name="invoice_pay_customer"
|
||||
type="object"
|
||||
string="Register Payment"
|
||||
attrs="{'invisible': ['|', ('state','!=','open'), ('sent','=',False)]}"
|
||||
class="oe_highlight"
|
||||
groups="invoicing_voucher_killer.invoice_voucher_user"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="invoice_voucher_group_supp_inv" model="ir.ui.view">
|
||||
<field name="name">Hide voucher in supplier invoice</field>
|
||||
<field name="model">account.invoice</field>
|
||||
<field name="inherit_id" ref="account_voucher.view_invoice_supplier" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='invoice_pay_customer'][last()]"
|
||||
position="replace">
|
||||
<button name="invoice_pay_customer"
|
||||
type="object"
|
||||
string="Pay"
|
||||
states="open"
|
||||
class="oe_highlight"
|
||||
groups="invoicing_voucher_killer.invoice_voucher_user"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user