Skip to content

Commit

Permalink
Merge 3979d8b into 228ffb6
Browse files Browse the repository at this point in the history
  • Loading branch information
archetipo committed Jul 13, 2015
2 parents 228ffb6 + 3979d8b commit c8b638a
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 0 deletions.
40 changes: 40 additions & 0 deletions invoice_number_view_tree/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:alt: License: AGPL-3

Invoice number:
===============

supplier_invoice_number field added in the tree and search view by
inheritance

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/{project_repo}/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/{project_repo}/issues/new?body=module:%20{module_name}%0Aversion:%20{version}%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Contributors
------------

* Fernando.Rangel <fernando.rangel@vauxoo.com>
* Alessio Gerace <alessio.gerace@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.
25 changes: 25 additions & 0 deletions invoice_number_view_tree/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- encoding: utf-8 -*-
#
# Module Written to OpenERP, Open Source Management Solution
#
# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
#
# Coded by: Fernando.Rangel (fernando.rangel@vauxoo.com)
#
#
# 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/>.
#
#
43 changes: 43 additions & 0 deletions invoice_number_view_tree/__openerp__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# -*- encoding: utf-8 -*-
#
# Module Written to OpenERP, Open Source Management Solution
#
# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
#
# Copyright (C) 2015 Agile Business Group <http://www.agilebg.com>
#
# Coded by: Fernando.Rangel (fernando.rangel@vauxoo.com)
#
#
# 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": "Invoice number",
"version": "1.0",
"author": "Vauxoo",
"category": "Localization",
"website": "http://www.vauxoo.com/",
"license": "AGPL-3",
"depends": [
"account"
],
"data": [
"view/invoice_number.xml"
],
"installable": True,
"auto_install": False
}
21 changes: 21 additions & 0 deletions invoice_number_view_tree/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-23 19:38+0000\n"
"PO-Revision-Date: 2013-07-23 14:47-0600\n"
"Last-Translator: Ulises <ulises@vauxoo.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"

#. module: invoice_number_view_tree
#: view:account.invoice:0
msgid "Supplier Invoice Number"
msgstr "No. Factura Proveedor"

21 changes: 21 additions & 0 deletions invoice_number_view_tree/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-23 19:38+0000\n"
"PO-Revision-Date: 2013-07-23 14:47-0600\n"
"Last-Translator: Ulises <ulises@vauxoo.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"

#. module: invoice_number_view_tree
#: view:account.invoice:0
msgid "Supplier Invoice Number"
msgstr "No. Fattura Fornitore"

30 changes: 30 additions & 0 deletions invoice_number_view_tree/view/invoice_number.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>

<record model="ir.ui.view" id="view_account_invoice_tree">
<field name="name">view.account_invoice.tree</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_tree" />
<field name="arch" type="xml">
<xpath expr="//field[@name='date_invoice']" position="before">
<field string="Supplier Invoice Number" name="supplier_invoice_number"/>
</xpath>
</field>
</record>

<record model="ir.ui.view" id="view_account_invoice_search">
<field name="name">view.account.invoice.search</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.view_account_invoice_filter" />
<field name="arch" type="xml">
<xpath expr="/search/field[@name='number']" position="before">
<field name="supplier_invoice_number"/>
</xpath>
</field>
</record>

</data>
</openerp>


0 comments on commit c8b638a

Please sign in to comment.