← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701943] Re: [6.0 RC2] osv.memory wizard - domain not respected -

 

my assumption #2 was false - it's not the active_id missing
nevertheless WEB is not working like in GTK

this is GTK
view_init  {'lang': u'en_US', 'tz': False, 'active_model': u'account.move.line', 'active_ids': [126], 'search_default_posted': 1, 'active_id': 126} 126 29
get_account  {'lang': u'en_US', 'tz': False, 'active_model': u'account.move.line', 'active_ids': [126], 'search_default_posted': 1, 'active_id': 126} 126 29 other 7

this is WEB
view_init  {'lang': u'en_US', 'tz': False, 'active_model': 'account.move.line', '_terp_view_name': 'Change Account', 'bin_size': True, 'client': 'web', 'active_ids': [126], 'active_id': 126} 126 29
get_account  {'lang': u'en_US', 'tz': False, 'active_model': 'account.move.line', '_terp_view_name': 'Change Account', 'bin_size': True, 'client': 'web', 'active_ids': [126], 'active_id': 126} 126 29 other 7

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701943

Title:
  [6.0 RC2] osv.memory wizard - domain not respected -

Status in OpenObject Web Client:
  New

Bug description:
  2 issues !!
  see attachment 
  1)
  see wizard/account_move_line_change.xml
            <field
              colspan="4"
              domain="[('id','!=',account_id),('type','=',account_type),('user_type','=',account_user_type)]"
              name="account_new_id"/>
            <separator string="" colspan="4"/>

  the domain is NOT used 
  (works correctly in GTK)
  this might give very unwanted results - IMHO a showstopper

  2)
  try to change an account for type !='others' - GTK raises the correct error mesasge - WEB shows an empty wizard and no error message





References