소스 검색

Instorial de facturas en el pedido de ventas

Rodney Enciso Arias 8 년 전
커밋
2b0cb46fd9
8개의 변경된 파일124개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      README
  2. 24 0
      __init__.py
  3. BIN
      __init__.pyc
  4. 54 0
      __openerp__.py
  5. 26 0
      i18n/fr.po
  6. BIN
      images/asperience.png
  7. BIN
      images/sale_invoices.png
  8. 18 0
      sale_view.xml

+ 2 - 0
README

@@ -0,0 +1,2 @@
+This module is "production grade". 
+In case of problems, please contact maintenace_asperpgi@asperience.fr

+ 24 - 0
__init__.py

@@ -0,0 +1,24 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2007-TODAY ASPerience SARL (<http://www.asperience.fr>).
+#    All Rights Reserved
+#
+#    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/>.
+#
+##############################################################################
+
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

BIN
__init__.pyc


+ 54 - 0
__openerp__.py

@@ -0,0 +1,54 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    Copyright (C) 2007-TODAY ASPerience SARL (<http://www.asperience.fr>).
+#    All Rights Reserved
+#
+#    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": "ASPerience Sale History",
+	"version": "8.0",
+	"author": "ASPerience",
+	"website": "http://www.asperience.fr",
+	"sequence": 0,
+	"certificate": "",
+	"license": "",
+	"depends": [
+		"sale"
+	],
+	"category": "Sales Management",
+	"complexity": "easy",
+	"description": """
+Adds view panel for displaying documents dependent of sale
+	""",
+	"data": [
+		'sale_view.xml',
+	],
+	"demo": [
+	],
+	"test": [
+	],
+	"images": [
+		"images/asperience.png",
+		"images/sale_invoices.png",
+	],
+	"auto_install": False,
+	"installable": True,
+	"application": False,
+
+}
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

+ 26 - 0
i18n/fr.po

@@ -0,0 +1,26 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#	* asperience_sale_history
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 8.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2014-12-15 11:47+0000\n"
+"PO-Revision-Date: 2014-12-15 11:47+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: asperience_sale_history
+#: view:sale.order:asperience_sale_history.view_order_form_history
+msgid "History"
+msgstr "Historique"
+
+#. module: asperience_sale_history
+#: view:sale.order:asperience_sale_history.view_order_form_history
+msgid "Invoices"
+msgstr "Factures"

BIN
images/asperience.png


BIN
images/sale_invoices.png


+ 18 - 0
sale_view.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+        <record id="view_order_form_history" model="ir.ui.view">
+            <field name="name">sale.order.form.history</field>
+            <field name="model">sale.order</field>
+            <field name="inherit_id" ref="sale.view_order_form"/>
+            <field name="arch" type="xml">
+            	<xpath expr="//notebook/page[@string='Other Information']" position="after">
+                    <page string="Historial" groups="base.group_user">
+                        <separator colspan="4" string="Facturas Asociadas"/>
+                        <field colspan="4" name="invoice_ids" nolabel="1" context="{'form_view_ref':'account.invoice_form'}"/>
+                    </page>
+				</xpath>
+            </field>
+        </record>
+    </data>
+</openerp>