Divyesh Makwana(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-res_bank_remove_footer-mdi into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-res_bank_remove_footer-mdi/+merge/118538

Hello Sir,

Removed 'footer' from 'res.partner.bank' because 'rml_footer2' is now fully 
editable since server revision 4198 and its related changes.

Thanks,
Divyesh
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-res_bank_remove_footer-mdi/+merge/118538
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-res_bank_remove_footer-mdi.
=== modified file 'account/account_bank_view.xml'
--- account/account_bank_view.xml	2012-08-05 10:12:36 +0000
+++ account/account_bank_view.xml	2012-08-07 11:29:19 +0000
@@ -46,9 +46,6 @@
           <p class="oe_view_nocontent_create">
             Click to setup a new bank account. 
           </p><p>
-            Configure your company's bank account and select those that must
-            appear on the report footer.
-          </p><p>
             If you use the accounting application of OpenERP, journals and
             accounts will be created automatically based on these data.
           </p>

=== modified file 'account/res_config.py'
--- account/res_config.py	2012-08-06 19:56:20 +0000
+++ account/res_config.py	2012-08-07 11:29:19 +0000
@@ -43,8 +43,6 @@
             string='Default company currency', help="Main currency of the company."),
         'paypal_account': fields.related('company_id', 'paypal_account', type='char', size=128,
             string='Paypal account', help="Paypal account (email) for receiving online payments (credit card, etc.) If you set a paypal account, the customer  will be able to pay your invoices or quotations with a button \"Pay with  Paypal\" in automated emails or through the OpenERP portal."),
-        'company_footer': fields.related('company_id', 'rml_footer2', type='char', size=250, readonly=True,
-            string='Bank accounts on reports will display as followed', help="Bank accounts as printed in the footer of each customer  document. This is for information purpose only, you should configure these bank accounts through the above button \"Configure Bank Accounts\"."),
 
         'has_chart_of_accounts': fields.boolean('Company has a chart of accounts'),
         'chart_template_id': fields.many2one('account.chart.template', 'Template', domain="[('visible','=', True)]"),
@@ -154,7 +152,6 @@
             'expects_chart_of_accounts': company.expects_chart_of_accounts,
             'currency_id': company.currency_id.id,
             'paypal_account': company.paypal_account,
-            'company_footer': company.rml_footer2,
             'has_chart_of_accounts': has_chart_of_accounts,
             'has_fiscal_year': bool(fiscalyear_count),
             'chart_template_id': False,

=== modified file 'account/res_config_view.xml'
--- account/res_config_view.xml	2012-08-06 19:56:20 +0000
+++ account/res_config_view.xml	2012-08-07 11:29:19 +0000
@@ -225,8 +225,6 @@
                                     icon="gtk-go-forward"
                                     type="action"
                                     class="oe_inline oe_link"/>
-                                <label for="company_footer"/>
-                                <field name="company_footer"/>
                             </div>
                             <div>
                                 <label for="paypal_account"/>

=== modified file 'account/test/account_customer_invoice.yml'
--- account/test/account_customer_invoice.yml	2011-11-14 23:23:11 +0000
+++ account/test/account_customer_invoice.yml	2012-08-07 11:29:19 +0000
@@ -8,7 +8,6 @@
     company_id: base.main_company
     partner_id: base.main_partner
     acc_number: 123456789
-    footer: True
     bank: base.res_bank_1
     bank_name: Reserve
 -

=== modified file 'edi/models/res_company.py'
--- edi/models/res_company.py	2012-03-30 09:08:37 +0000
+++ edi/models/res_company.py	2012-08-07 11:29:19 +0000
@@ -49,7 +49,7 @@
             result['paypal_account'] = company.paypal_account
         # bank info: include only bank account supposed to be displayed in document footers
         res_partner_bank = self.pool.get('res.partner.bank')
-        bank_ids = res_partner_bank.search(cr, uid, [('company_id','=',company.id),('footer','=',True)], context=context)
+        bank_ids = res_partner_bank.search(cr, uid, [('company_id','=',company.id)], context=context)
         if bank_ids:
             result['bank_ids'] = res_partner.edi_m2m(cr, uid,
                                                              res_partner_bank.browse(cr, uid, bank_ids, context=context),

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to