Juan Felipe Muñoz Ramos has proposed merging lp:~juan-munoz-clearcorp/openerp-ccorp-addons/account_account_template_name into lp:openerp-ccorp-addons.
Requested reviews: Carlos Vásquez (CLEARCORP) (cv.clearcorp) For more details, see: https://code.launchpad.net/~juan-munoz-clearcorp/openerp-ccorp-addons/account_account_template_name/+merge/98336 Add account_account_template_char_name -- https://code.launchpad.net/~juan-munoz-clearcorp/openerp-ccorp-addons/account_account_template_name/+merge/98336 Your team CLEARCORP development team is subscribed to branch lp:openerp-ccorp-addons.
=== added directory 'account_account_template_char_name' === added file 'account_account_template_char_name/__init__.py' --- account_account_template_char_name/__init__.py 1970-01-01 00:00:00 +0000 +++ account_account_template_char_name/__init__.py 2012-03-20 04:55:21 +0000 @@ -0,0 +1,1 @@ +import account_account_template_char_name === added file 'account_account_template_char_name/__openerp__.py' --- account_account_template_char_name/__openerp__.py 1970-01-01 00:00:00 +0000 +++ account_account_template_char_name/__openerp__.py 2012-03-20 04:55:21 +0000 @@ -0,0 +1,44 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# account_account_template_char__name.py +# account_account_template_char_name +# First author: Juan Felipe Munoz <[email protected]> (ClearCorp S.A.) +# Copyright (c) 2011-TODAY ClearCorp S.A. (http://clearcorp.co.cr). All rights reserved. +# +# Redistribution and use in source and binary forms, with or without modification, are +# permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, this list of +# conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, this list +# of conditions and the following disclaimer in the documentation and/or other materials +# provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# The views and conclusions contained in the software and documentation are those of the +# authors and should not be interpreted as representing official policies, either expressed +# or implied, of ClearCorp S.A.. +# +############################################################################## +{ + "name" : "Accounting Template Char Name", + "author" : "ClearCorp S.A.", + "version" : "1.0", + "depends" : ["account"], + "init_xml" : [], + "update_xml" : ["account_account_template_char_name.xml"], + "category" : "Accounting", + "active" : False, + "instalable" : True, +} === added file 'account_account_template_char_name/account_account_template_char_name.py' --- account_account_template_char_name/account_account_template_char_name.py 1970-01-01 00:00:00 +0000 +++ account_account_template_char_name/account_account_template_char_name.py 2012-03-20 04:55:21 +0000 @@ -0,0 +1,46 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# account_rename.py +# account_rename +# First author: Mag Guevara <[email protected]> (ClearCorp S.A.) +# Copyright (c) 2011-TODAY ClearCorp S.A. (http://clearcorp.co.cr). All rights reserved. +# +# Redistribution and use in source and binary forms, with or without modification, are +# permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, this list of +# conditions and the following disclaimer. +# +# 2. Redistributions in binary form must reproduce the above copyright notice, this list +# of conditions and the following disclaimer in the documentation and/or other materials +# provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY <COPYRIGHT HOLDER> ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# The views and conclusions contained in the software and documentation are those of the +# authors and should not be interpreted as representing official policies, either expressed +# or implied, of ClearCorp S.A.. +# +############################################################################## +from osv import osv, fields +#from tools import debug +from tools.translate import _ + +class account_account_template_char_name(osv.osv): + _name = "account.account.template" + _inherit = "account.account.template" + + + _columns = { + 'char_template': fields.char('Char Template', size=64, required=True), + } +account_account_template_char_name () === added file 'account_account_template_char_name/account_account_template_char_name.xml' --- account_account_template_char_name/account_account_template_char_name.xml 1970-01-01 00:00:00 +0000 +++ account_account_template_char_name/account_account_template_char_name.xml 2012-03-20 04:55:21 +0000 @@ -0,0 +1,43 @@ +<?xml version = "1.0" encoding = "UTF-8"?> +<openerp> + <data> + + <!-- + ====================================== + accounts + ====================================== + --> + + <record model = "ir.ui.view" id = "account_account_template_char_name_view_form"> + <field name = "name">account.account.template.char.name.form</field> + <field name = "model">account.account.template</field> + <field name = "type">form</field> + <field name="inherit_id" ref="account.view_account_template_form"/> + <field name = "arch" type = "xml"> + <data> + <field name = "chart_template_id" position = "after"> + <field name = "char_template"/> + </field> + </data> + </field> + </record> + + + <record model = "ir.ui.view" id = "account_account_template_char_name_view_tree"> + <field name = "name">account.account.template.char.name.tree</field> + <field name = "model">account.account.template</field> + <field name = "type">tree</field> + <field name="inherit_id" ref="account.view_account_template_tree"/> + <field name = "arch" type = "xml"> + <data> + <field name = "name" position = "after"> + <field name = "char_template"/> + </field> + </data> + </field> + </record> + + + </data> +</openerp> +
_______________________________________________ Mailing list: https://launchpad.net/~clearcorp Post to : [email protected] Unsubscribe : https://launchpad.net/~clearcorp More help : https://help.launchpad.net/ListHelp

