Merge lp:~vauxoo/addons-vauxoo/7.0-invisible_aml_tax-dev_luis into lp:addons-vauxoo/7.0

Proposed by Luis Torres - http://www.vauxoo.com
Status: Merged
Merged at revision: 910
Proposed branch: lp:~vauxoo/addons-vauxoo/7.0-invisible_aml_tax-dev_luis
Merge into: lp:addons-vauxoo/7.0
Diff against target: 112 lines (+97/-0)
3 files modified
invisible_aml_tax/__init__.py (+25/-0)
invisible_aml_tax/__openerp__.py (+50/-0)
invisible_aml_tax/account_view.xml (+22/-0)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/7.0-invisible_aml_tax-dev_luis
Reviewer Review Type Date Requested Status
Luis Torres - http://www.vauxoo.com Needs Resubmitting
Moisés López - http://www.vauxoo.com Pending
Review via email: mp+192400@code.launchpad.net

Description of the change

Se agrego el modulo para ocultar los campos tax_code_id y tax_amount en la vista de account_move

To post a comment you must log in.
892. By Luis Torres - http://www.vauxoo.com

[REF][invisible_aml_tax]Change description in __openerp__ and the year un Copyright

Revision history for this message
Luis Torres - http://www.vauxoo.com (luis-cleto-) wrote :

Se cambio el año del Copyright y la descripción en el modulo

review: Needs Resubmitting
893. By Isaac López Zúñiga

[MERGE] from lp:addons-vauxoo/7.0 revno 908

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'invisible_aml_tax'
2=== added file 'invisible_aml_tax/__init__.py'
3--- invisible_aml_tax/__init__.py 1970-01-01 00:00:00 +0000
4+++ invisible_aml_tax/__init__.py 2013-10-30 00:36:38 +0000
5@@ -0,0 +1,25 @@
6+# -*- encoding: utf-8 -*-
7+###########################################################################
8+# Module Writen to OpenERP, Open Source Management Solution
9+#
10+# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
11+# All Rights Reserved.
12+# info Vauxoo (info@vauxoo.com)
13+############################################################################
14+# Coded by: Luis Torres (luis_t@vauxoo.com)
15+############################################################################
16+#
17+# This program is free software: you can redistribute it and/or modify
18+# it under the terms of the GNU Affero General Public License as
19+# published by the Free Software Foundation, either version 3 of the
20+# License, or (at your option) any later version.
21+#
22+# This program is distributed in the hope that it will be useful,
23+# but WITHOUT ANY WARRANTY; without even the implied warranty of
24+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25+# GNU Affero General Public License for more details.
26+#
27+# You should have received a copy of the GNU Affero General Public License
28+# along with this program. If not, see <http://www.gnu.org/licenses/>.
29+#
30+##############################################################################
31
32=== added file 'invisible_aml_tax/__openerp__.py'
33--- invisible_aml_tax/__openerp__.py 1970-01-01 00:00:00 +0000
34+++ invisible_aml_tax/__openerp__.py 2013-10-30 00:36:38 +0000
35@@ -0,0 +1,50 @@
36+# -*- encoding: utf-8 -*-
37+###########################################################################
38+# Module Writen to OpenERP, Open Source Management Solution
39+#
40+# Copyright (c) 2013 Vauxoo - http://www.vauxoo.com/
41+# All Rights Reserved.
42+# info Vauxoo (info@vauxoo.com)
43+############################################################################
44+# Coded by: Luis Torres (luis_t@vauxoo.com)
45+############################################################################
46+#
47+# This program is free software: you can redistribute it and/or modify
48+# it under the terms of the GNU Affero General Public License as
49+# published by the Free Software Foundation, either version 3 of the
50+# License, or (at your option) any later version.
51+#
52+# This program is distributed in the hope that it will be useful,
53+# but WITHOUT ANY WARRANTY; without even the implied warranty of
54+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55+# GNU Affero General Public License for more details.
56+#
57+# You should have received a copy of the GNU Affero General Public License
58+# along with this program. If not, see <http://www.gnu.org/licenses/>.
59+#
60+##############################################################################
61+
62+{
63+ "name" : "Invisible aml Tax",
64+ "version" : "1.0",
65+ "author" : "Vauxoo",
66+ "category" : "Generic Modules",
67+ "description" : """
68+ This module changes to invisible the fields tax_code_id and tax_amount in view account_move
69+ """,
70+ "website" : "http://www.vauxoo.com/",
71+ "license" : "AGPL-3",
72+ "depends" : [
73+ "account",
74+ ],
75+ "demo" : [],
76+ "data" : [
77+ 'account_view.xml',
78+ ],
79+ 'js': [],
80+ 'qweb' : [],
81+ 'css':[],
82+ 'test': [],
83+ "installable" : True,
84+ "active" : False,
85+}
86
87=== added file 'invisible_aml_tax/account_view.xml'
88--- invisible_aml_tax/account_view.xml 1970-01-01 00:00:00 +0000
89+++ invisible_aml_tax/account_view.xml 2013-10-30 00:36:38 +0000
90@@ -0,0 +1,22 @@
91+<?xml version='1.0' encoding='utf-8'?>
92+<openerp>
93+ <data>
94+ <record model="ir.ui.view" id="view_account_move_inherit_hide_fields_form">
95+ <field name="name">view.account.move.inherit.hide.fields.form</field>
96+ <field name="model">account.move</field>
97+ <field name="inherit_id" ref="account.view_move_form"/>
98+ <field name="arch" type="xml">
99+ <xpath
100+ expr="//tree[@string='Journal Items']/field[@name='tax_amount']"
101+ position="attributes">
102+ <attribute name="invisible">1</attribute>
103+ </xpath>
104+ <xpath
105+ expr="//tree[@string='Journal Items']/field[@name='tax_code_id']"
106+ position="attributes">
107+ <attribute name="invisible">1</attribute>
108+ </xpath>
109+ </field>
110+ </record>
111+ </data>
112+</openerp>