Serpent Consulting Services has proposed merging lp:~serpentcs/openerp-india/l10n_states_serpentcs into lp:openerp-india/7.0.
Requested reviews: OpenERP Indian Team (openerp-india) For more details, see: https://code.launchpad.net/~serpentcs/openerp-india/l10n_states_serpentcs/+merge/225321 -- https://code.launchpad.net/~serpentcs/openerp-india/l10n_states_serpentcs/+merge/225321 Your team OpenERP Indian Team is requested to review the proposed merge of lp:~serpentcs/openerp-india/l10n_states_serpentcs into lp:openerp-india/7.0.
=== added directory 'l10n_states' === added file 'l10n_states/__init__.py' --- l10n_states/__init__.py 1970-01-01 00:00:00 +0000 +++ l10n_states/__init__.py 2014-07-02 13:11:59 +0000 @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2013-2014 Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>). +# +# 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/>. +# +############################################################################## === added file 'l10n_states/__openerp__.py' --- l10n_states/__openerp__.py 1970-01-01 00:00:00 +0000 +++ l10n_states/__openerp__.py 2014-07-02 13:11:59 +0000 @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2013-2014 Serpent Consulting Services Pvt. Ltd. (<http://www.serpentcs.com>). +# +# 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": "States of India", + "version": "1.0", + "author": "Serpent Consulting Services Pvt. Ltd.", + "website": "http://www.serpentcs.com", + "depends": ["base"], + "category": "States", + "description":""" This module adds the States of India """, + "data": [ + "data/res.country.state.csv", + "res_partner_view.xml" + ], + "auto_install": False, + "installable": True, + "application": True +} === added directory 'l10n_states/data' === added file 'l10n_states/data/res.country.state.csv' --- l10n_states/data/res.country.state.csv 1970-01-01 00:00:00 +0000 +++ l10n_states/data/res.country.state.csv 2014-07-02 13:11:59 +0000 @@ -0,0 +1,30 @@ +id,name,code,country_id +state_rajsthan,Rajasthan,RJ,India +state_madhya pradesh,Madhya Pradesh,MP,India +state_maharashtra,Maharashtra,MH,India +state_uttar pradesh,Uttar Pradesh,UP,India +state_jammu kashmir,Jammu and Kashmir,JK,India +state_gujarat,Gujarat,GJ,India +state_karnataka,Karnataka,KA,India +state_andhra pradesh,Andhra Pradesh,AP,India +state_odisha,Odisha,OD,India +state_chhattisgarh,Chhattisgarh,CG,India +state_tamil nadu,Tamil Nadu,TN,India +state_telngana,Telangana,TS,India +state_bihar,Bihar,BR,India +state_west bengal,West Bengal,WB,India +state_arunachal pradesh,Arunachal Pradesh,AR,India +state_jharkhand,Jharkhand,JH,India +state_assam,Assam,AS,India +state_himachal pradesh,Himachal Pradesh,HP,India +state_uttarakhand,Uttarakhand,UK,India +state_punjab,Punjab,PB,India +state_haryana,Haryana,HN,India +state_kerala,Kerala,KL,India +state_meghalaya,Meghalaya,ML,India +state_manipur,Manipur,MN,India +state_mizoram,Mizoram,MZ,India +state_nagaland,Nagaland,NL,India +state_tripura,Tripura,TR,India +state_sikkim,Sikkim,SK,India +state_delhi,Delhi,DL,India === added file 'l10n_states/res_partner_view.xml' --- l10n_states/res_partner_view.xml 1970-01-01 00:00:00 +0000 +++ l10n_states/res_partner_view.xml 2014-07-02 13:11:59 +0000 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<openerp> + <data> + + <!-- Inherited partner form view --> + <record model="ir.ui.view" id="inherit_partner_form_view"> + <field name="name">inherit.partner.form.view</field> + <field name="model">res.partner</field> + <field name="inherit_id" ref="base.view_partner_form" /> + <field name="arch" type="xml"> + <xpath expr="//field[@name='state_id']" position="attributes"> + <attribute name="domain">[('country_id','=',country_id)]</attribute> + </xpath> + </field> + </record> + </data> +</openerp> \ No newline at end of file === added directory 'l10n_states/static' === added directory 'l10n_states/static/src' === added directory 'l10n_states/static/src/img' === added file 'l10n_states/static/src/img/icon.png' Binary files l10n_states/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and l10n_states/static/src/img/icon.png 2014-07-02 13:11:59 +0000 differ
_______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

