Rifakat (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-575259-rha into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575259-rha/+merge/107584

Hello,

I have put company_id as invisible in the tree view of journal items to be able 
to execute domain on the
field account_id.

Steps to reproduce the error,
1. Open "Manual Reconciliation", it will list journal items
2. edit any record list, click search from selection on the field account_id
3. it will raise error because account_id field has domain,
   [('journal_id','=',journal_id), ('company_id', '=', company_id)]
   and company_id is not defined in the tree view.

Please review it.

Regards,
Rifakat Haradwala
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575259-rha/+merge/107584
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-575259-rha.
=== modified file 'account/account_view.xml'
--- account/account_view.xml	2012-02-14 11:07:04 +0000
+++ account/account_view.xml	2012-05-28 06:24:22 +0000
@@ -1069,6 +1069,7 @@
                     <field name="reconcile_partial_id" groups="base.group_extended"/>
                     <field name="reconcile_id"/>
                     <field name="state"/>
+                    <field name="company_id" invisible="True"/>
                 </tree>
             </field>
         </record>

_______________________________________________
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