Ver Fonte

Agregar observación en pago de proveedores.

sebas há 3 anos atrás
pai
commit
25553ba06a
4 ficheiros alterados com 18 adições e 2 exclusões
  1. 0 0
      __init__.pyc
  2. 2 2
      __openerp__.py
  3. 0 0
      account_voucher_comment.pyc
  4. 16 0
      account_vouchersupplier_comment_view.xml

+ 0 - 0
__init__.pyc


+ 2 - 2
__openerp__.py

@@ -24,11 +24,11 @@
     'name': 'Comment voucher recibo',
     'version': '2.1',
     'category': 'Account',
-    'description': """This module allows to add obeservacion fields to the voucher.""",
+    'description': """This module allows to add observacion fields to the voucher.""",
     'author': 'Eiru Software/Sebastian Penayo',
     'website': 'http://www.eirusoftware.com/',
     'depends': ['base','account'],
-    'data': ['account_voucher_comment_view.xml'],
+    'data': ['account_voucher_comment_view.xml','account_vouchersupplier_comment_view.xml'],
     'installable': True,
 }
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

+ 0 - 0
account_voucher_comment.pyc


+ 16 - 0
account_vouchersupplier_comment_view.xml

@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<openerp>
+    <data>
+        <record id="account_vouchersupplier_comment_view" model="ir.ui.view">
+            <field name="name">account.vouchersupplier.comment</field>
+            <field name="model">account.voucher</field>
+            <field name="inherit_id" ref="account_voucher.view_vendor_payment_form"/>
+            <field name="arch" type="xml">
+                <field name="journal_id" position="after">
+                    <field name="comment_obs" attrs="{'readonly':False}"/>
+                </field>
+            </field>
+        </record>
+
+    </data>
+</openerp>