From 7cf4fb877960ce5c3316daa14aeb220f7abc3fc0 Mon Sep 17 00:00:00 2001
From: "RGA(OpenERP)" <>
Date: Tue, 7 Aug 2012 14:14:10 +0530
Subject: [PATCH] [IMP] remove addition field from act_window, pass it through
context of action
bzr revid: rgaopenerp-20120807084410-1w2jycfedlgg80f0
---
addons/account/__openerp__.py | 2 +-
addons/account/account_move_reconciliation.py | 7 ---
addons/account/account_view.xml | 5 +-
.../src/js/account_move_reconciliation.js | 63 +++----------------
4 files changed, 11 insertions(+), 66 deletions(-)
diff --git a/addons/account/__openerp__.py b/addons/account/__openerp__.py
index 0542c9fa79e..950ee2da895 100644
--- a/addons/account/__openerp__.py
+++ b/addons/account/__openerp__.py
@@ -66,8 +66,8 @@ financial year and for preparation of vouchers there is a module named account_v
'wizard/account_period_close_view.xml',
'wizard/account_reconcile_view.xml',
'wizard/account_unreconcile_view.xml',
- 'account_move_reconciliation.xml',
'account_view.xml',
+ 'account_move_reconciliation.xml',
'account_report.xml',
'account_financial_report_data.xml',
'wizard/account_report_common_view.xml',
diff --git a/addons/account/account_move_reconciliation.py b/addons/account/account_move_reconciliation.py
index f30fe9cb040..8dee6e98b22 100644
--- a/addons/account/account_move_reconciliation.py
+++ b/addons/account/account_move_reconciliation.py
@@ -22,13 +22,6 @@
import tools
from osv import fields,osv
-class act_window(osv.osv):
- _inherit = 'ir.actions.act_window'
- _columns = {
- 'extended_form_view_id': fields.many2one('ir.ui.view', 'Account form view ref.'),
- }
-act_window()
-
class res_partner(osv.osv):
_inherit = 'res.partner'
_columns = {
diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml
index 2356dbf2ac5..3e1f2ac01cd 100644
--- a/addons/account/account_view.xml
+++ b/addons/account/account_view.xml
@@ -1601,7 +1601,7 @@
[('partner_id.customer','=',True)]
- {'view_mode':True}
+
@@ -1610,9 +1610,8 @@
form
tree,form
-
[('partner_id.supplier','=',True)]
- {'view_mode':True}
+