Merge lp:~vauxoo/addons-vauxoo/7.0-project_contract_validations-dev_sabrina into lp:addons-vauxoo/7.0

Proposed by Sabrina Romero - http://www.vauxoo.com
Status: Merged
Approved by: Jorge Angel Naranjo Rogel - http://www.vauxoo.com
Approved revision: 1104
Merged at revision: 1108
Proposed branch: lp:~vauxoo/addons-vauxoo/7.0-project_contract_validations-dev_sabrina
Merge into: lp:addons-vauxoo/7.0
Diff against target: 114 lines (+87/-0)
4 files modified
project_contract_validations/__init__.py (+1/-0)
project_contract_validations/__openerp__.py (+48/-0)
project_contract_validations/i18n/es.po (+21/-0)
project_contract_validations/view/project_view.xml (+17/-0)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/7.0-project_contract_validations-dev_sabrina
Reviewer Review Type Date Requested Status
Jorge Angel Naranjo Rogel - http://www.vauxoo.com Pending
Review via email: mp+229482@code.launchpad.net

This proposal supersedes a proposal from 2014-08-01.

Description of the change

project_contract_validations added for guidelines and validations in the relation between Project and Analytic Account modules.

To post a comment you must log in.
1104. By Sabrina Romero - http://www.vauxoo.com

[MERGE]

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'project_contract_validations'
2=== added file 'project_contract_validations/__init__.py'
3--- project_contract_validations/__init__.py 1970-01-01 00:00:00 +0000
4+++ project_contract_validations/__init__.py 2014-08-07 17:55:29 +0000
5@@ -0,0 +1,1 @@
6+
7
8=== added file 'project_contract_validations/__openerp__.py'
9--- project_contract_validations/__openerp__.py 1970-01-01 00:00:00 +0000
10+++ project_contract_validations/__openerp__.py 2014-08-07 17:55:29 +0000
11@@ -0,0 +1,48 @@
12+# -*- encoding: utf-8 -*-
13+##############################################################################
14+#
15+# OpenERP, Open Source Management Solution
16+# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
17+# d$
18+###############Credits######################################################
19+# Coded by: Vauxoo C.A. (Yanina Aular & Miguel Delgado)
20+# Planified by: Rafael Silva
21+# Audited by: Vauxoo C.A.
22+##############################################################################
23+# This program is free software: you can redistribute it and/or modify
24+# it under the terms of the GNU General Public License as published by
25+# the Free Software Foundation, either version 3 of the License, or
26+# (at your option) any later version.
27+#
28+# This program is distributed in the hope that it will be useful,
29+# but WITHOUT ANY WARRANTY; without even the implied warranty of
30+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+# GNU General Public License for more details.
32+#
33+# You should have received a copy of the GNU General Public License
34+# along with this program. If not, see <http://www.gnu.org/licenses/>.
35+#
36+##############################################################################
37+
38+{
39+ "name" : "Project Contract Validations",
40+ "version" : "0.1",
41+ "depends" : [
42+ "project",
43+ "sale",
44+ ],
45+ "author" : "Vauxoo",
46+ "description" : """
47+ This module adds guidelines and validations in the relation
48+ between Project and Analytic Account modules.
49+ """,
50+ "website" : "http://vauxoo.com",
51+ "category" : "Generic Modules",
52+ "demo" : [],
53+ "data" : [
54+ "view/project_view.xml",
55+ ],
56+ "active": False,
57+ "images": [],
58+ "installable": True,
59+}
60
61=== added directory 'project_contract_validations/data'
62=== added directory 'project_contract_validations/demo'
63=== added directory 'project_contract_validations/i18n'
64=== added file 'project_contract_validations/i18n/es.po'
65--- project_contract_validations/i18n/es.po 1970-01-01 00:00:00 +0000
66+++ project_contract_validations/i18n/es.po 2014-08-07 17:55:29 +0000
67@@ -0,0 +1,21 @@
68+# Translation of OpenERP Server.
69+# This file contains the translation of the following modules:
70+#
71+msgid ""
72+msgstr ""
73+"Project-Id-Version: OpenERP Server 7.0\n"
74+"Report-Msgid-Bugs-To: \n"
75+"POT-Creation-Date: 2014-08-01 23:03+0000\n"
76+"PO-Revision-Date: 2014-08-01 23:03+0000\n"
77+"Last-Translator: <>\n"
78+"Language-Team: \n"
79+"MIME-Version: 1.0\n"
80+"Content-Type: text/plain; charset=UTF-8\n"
81+"Content-Transfer-Encoding: \n"
82+"Plural-Forms: \n"
83+
84+#. module: project_contract_validations
85+#: view:project.project:0
86+msgid "Please contact the account manager of this project in order to close the sale contract too!"
87+msgstr "Por favor, póngase en contacto con el administrador del proyecto con el fin de cerrar el contrato de venta también!"
88+
89
90=== added directory 'project_contract_validations/model'
91=== added directory 'project_contract_validations/report'
92=== added directory 'project_contract_validations/security'
93=== added directory 'project_contract_validations/view'
94=== added file 'project_contract_validations/view/project_view.xml'
95--- project_contract_validations/view/project_view.xml 1970-01-01 00:00:00 +0000
96+++ project_contract_validations/view/project_view.xml 2014-08-07 17:55:29 +0000
97@@ -0,0 +1,17 @@
98+<?xml version='1.0' encoding='UTF-8'?>
99+<openerp>
100+ <data>
101+
102+ <record id="view_project_contract_validations_form" model="ir.ui.view">
103+ <field name="name">project.contract.validations</field>
104+ <field name="model">project.project</field>
105+ <field name="inherit_id" ref="project.edit_project"/>
106+ <field name="arch" type="xml">
107+ <xpath expr="//button[@string='Close Project']" position='attributes'>
108+ <attribute name="confirm">Please contact the account manager of this project in order to close the sale contract too!</attribute>
109+ </xpath>
110+ </field>
111+ </record>
112+
113+</data>
114+</openerp>