Lorenzo Battistini - Agile BG - Domsense has proposed merging lp:~openobject-italia-core-devs/openobject-italia/adding_l10n_it_base_contact into lp:openobject-italia.
Requested reviews: OpenERP Italia core devs (openobject-italia-core-devs) For more details, see: https://code.launchpad.net/~openobject-italia-core-devs/openobject-italia/adding_l10n_it_base_contact/+merge/99724 -- https://code.launchpad.net/~openobject-italia-core-devs/openobject-italia/adding_l10n_it_base_contact/+merge/99724 Your team OpenERP Italia core devs is requested to review the proposed merge of lp:~openobject-italia-core-devs/openobject-italia/adding_l10n_it_base_contact into lp:openobject-italia.
=== added directory 'l10n_it_base_contact' === added file 'l10n_it_base_contact/AUTHORS.txt' --- l10n_it_base_contact/AUTHORS.txt 1970-01-01 00:00:00 +0000 +++ l10n_it_base_contact/AUTHORS.txt 2012-03-28 13:34:17 +0000 @@ -0,0 +1,2 @@ +Lorenzo Battistini <[email protected]> + === added file 'l10n_it_base_contact/__init__.py' --- l10n_it_base_contact/__init__.py 1970-01-01 00:00:00 +0000 +++ l10n_it_base_contact/__init__.py 2012-03-28 13:34:17 +0000 @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (C) 2012 Associazione OpenERP Italia +# (<http://www.openerp-italia.org>). +# 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 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/>. +# +############################################################################## + +import base_contact === added file 'l10n_it_base_contact/__openerp__.py' --- l10n_it_base_contact/__openerp__.py 1970-01-01 00:00:00 +0000 +++ l10n_it_base_contact/__openerp__.py 2012-03-28 13:34:17 +0000 @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (C) 2012 Associazione OpenERP Italia +# (<http://www.openerp-italia.org>). +# 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 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': 'Italian Localisation - base_contact', + 'version': '0.1', + 'category': 'Localisation/Italy', + 'description': """Adding fiscal code to 'contatc' object""", + 'author': 'OpenERP Italian Community', + 'website': 'http://www.openerp-italia.org', + 'license': 'AGPL-3', + "depends" : ['base_contact'], + "init_xml" : [ + ], + "update_xml" : [ + 'base_contact_view.xml', + ], + "demo_xml" : [], + "active": False, + "installable": True +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: + === added file 'l10n_it_base_contact/base_contact.py' --- l10n_it_base_contact/base_contact.py 1970-01-01 00:00:00 +0000 +++ l10n_it_base_contact/base_contact.py 2012-03-28 13:34:17 +0000 @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Copyright (C) 2012 Associazione OpenERP Italia +# (<http://www.openerp-italia.org>). +# 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 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/>. +# +############################################################################## + +from osv import fields,osv + +class res_partner_contact(osv.osv): + _inherit = "res.partner.contact" + _columns = { + 'fiscalcode': fields.char('Fiscal Code', size=16, help="Italian Fiscal Code"), + } +res_partner_contact() === added file 'l10n_it_base_contact/base_contact_view.xml' --- l10n_it_base_contact/base_contact_view.xml 1970-01-01 00:00:00 +0000 +++ l10n_it_base_contact/base_contact_view.xml 2012-03-28 13:34:17 +0000 @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> +<data> + + <record model="ir.ui.view" id="view_partner_contact_form"> + <field name="name">res.partner.contact.form</field> + <field name="model">res.partner.contact</field> + <field name="type">form</field> + <field name="inherit_id" ref="base_contact.view_partner_contact_form"></field> + <field name="arch" type="xml"> + <field name="birthdate" position="after"> + <field name="fiscalcode"/> + </field> + </field> + </record> + +</data> +</openerp> === added directory 'l10n_it_base_contact/i18n' === added file 'l10n_it_base_contact/i18n/it.po' --- l10n_it_base_contact/i18n/it.po 1970-01-01 00:00:00 +0000 +++ l10n_it_base_contact/i18n/it.po 2012-03-28 13:34:17 +0000 @@ -0,0 +1,32 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * l10n_it_base_contact +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 6.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-03-28 13:26+0000\n" +"PO-Revision-Date: 2012-03-28 15:27+0100\n" +"Last-Translator: eLBati <[email protected]>\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: l10n_it_base_contact +#: field:res.partner.contact,fiscalcode:0 +msgid "Fiscal Code" +msgstr "Codice Fiscale" + +#. module: l10n_it_base_contact +#: model:ir.model,name:l10n_it_base_contact.model_res_partner_contact +msgid "Contact" +msgstr "Contatto" + +#. module: l10n_it_base_contact +#: help:res.partner.contact,fiscalcode:0 +msgid "Italian Fiscal Code" +msgstr "Codice Fiscale Italiano" +
_______________________________________________ Mailing list: https://launchpad.net/~openobject-italia-core-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~openobject-italia-core-devs More help : https://help.launchpad.net/ListHelp

