Ronald Rubi has proposed merging lp:~rr.clearcorp/openerp-ccorp-addons/6.1-account_invoice_view_extended into lp:openerp-ccorp-addons/6.1.
Requested reviews: CLEARCORP drivers (clearcorp-drivers) For more details, see: https://code.launchpad.net/~rr.clearcorp/openerp-ccorp-addons/6.1-account_invoice_view_extended/+merge/152955 Add module account_invoice_view_extended -- https://code.launchpad.net/~rr.clearcorp/openerp-ccorp-addons/6.1-account_invoice_view_extended/+merge/152955 Your team CLEARCORP development team is subscribed to branch lp:openerp-ccorp-addons/6.1.
=== added directory 'account_invoice_view_extended' === added file 'account_invoice_view_extended/__init__.py' --- account_invoice_view_extended/__init__.py 1970-01-01 00:00:00 +0000 +++ account_invoice_view_extended/__init__.py 2013-03-12 16:21:20 +0000 @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Addons modules by CLEARCORP S.A. +# Copyright (C) 2009-TODAY CLEARCORP S.A. (<http://clearcorp.co.cr>). +# +# 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 'account_invoice_view_extended/__openerp__.py' --- account_invoice_view_extended/__openerp__.py 1970-01-01 00:00:00 +0000 +++ account_invoice_view_extended/__openerp__.py 2013-03-12 16:21:20 +0000 @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Addons modules by CLEARCORP S.A. +# Copyright (C) 2009-TODAY CLEARCORP S.A. (<http://clearcorp.co.cr>). +# +# 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': 'Account Invoice View Extended', + 'version': '1.1', + 'url': 'http://launchpad.net/openerp-ccorp-addons', + 'author': 'ClearCorp S.A.', + 'website': 'http://clearcorp.co.cr', + 'category': 'Accounting & Finance', + 'description': """Account Invoice View Extended. + """, + 'depends': [ + 'account', + ], + 'init_xml': [], + 'demo_xml': [], + 'update_xml': [ + 'account_invoice_view_extended.xml', + ], + 'license': 'AGPL-3', + 'installable': True, + 'active': False, +} === added file 'account_invoice_view_extended/account_invoice_view_extended.xml' --- account_invoice_view_extended/account_invoice_view_extended.xml 1970-01-01 00:00:00 +0000 +++ account_invoice_view_extended/account_invoice_view_extended.xml 2013-03-12 16:21:20 +0000 @@ -0,0 +1,22 @@ +<?xml version = "1.0" encoding = "UTF-8"?> +<openerp> + <data> + + <record model = "ir.ui.view" id = "ccorp_invoice_supplier_form"> + <field name = "name">rent.invoice.supplier.form</field> + <field name = "model">account.invoice</field> + <field name = "type">form</field> + <field name = "inherit_id" ref = "account.invoice_supplier_form"/> + <field name = "arch" type="xml"> + <data> + <field name="date_invoice" position="before"> + <field name = "name" /> + </field> + </data> + </field> + </record> + + </data> +</openerp> + + === modified file 'rent/rent.py' --- rent/rent.py 2013-03-11 16:20:41 +0000 +++ rent/rent.py 2013-03-12 16:21:20 +0000 @@ -1780,12 +1780,6 @@ 'log_desc' : fields.char('Description',size=200), #'log_rent' : fields.many2one('rent.rent','Rent Ref'), } - -class account_invoice(osv.osv): - _inherit = 'account.invoice' - _columns = { - 'description': fields.char('Description', size=64, select=True, readonly=True, states={'draft':[('readonly',False)]}), - } class rent_contract(osv.osv): _name = 'rent.contract' === modified file 'rent/rent_view.xml' --- rent/rent_view.xml 2013-03-11 16:20:41 +0000 +++ rent/rent_view.xml 2013-03-12 16:21:20 +0000 @@ -1217,20 +1217,6 @@ </field> </record> - <record model = "ir.ui.view" id = "rent_invoice_form_view"> - <field name = "name">rent.invoice.supplier.form</field> - <field name = "model">account.invoice</field> - <field name = "type">form</field> - <field name = "inherit_id" ref = "account.invoice_supplier_form"/> - <field name = "arch" type="xml"> - <data> - <field name="date_invoice" position="before"> - <field name = "description" /> - </field> - </data> - </field> - </record> - <!-- ====================================== CONTRACTS
_______________________________________________ Mailing list: https://launchpad.net/~clearcorp Post to : [email protected] Unsubscribe : https://launchpad.net/~clearcorp More help : https://help.launchpad.net/ListHelp

