← Back to team overview

openerp-india team mailing list archive

[Bug 1083005] [NEW] ir_property - force_company also for writing

 

Public bug reported:

Hello!

for better multi company handling it would be useful to be able to set a
different company also for writing

this does not work - it overwrites the current company
comp_o_id is the other company

ctx={'company_id':comp_o_id, 'force_company':comp_o_id }
product_obj.write(cr, uid, product_id, {'property_account_expense':account_expense_o_id[0]}, context=ctx)

may be I miss smething

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1083005

Title:
  ir_property - force_company also for writing

Status in OpenERP Server:
  New

Bug description:
  Hello!

  for better multi company handling it would be useful to be able to set
  a different company also for writing

  this does not work - it overwrites the current company
  comp_o_id is the other company

  ctx={'company_id':comp_o_id, 'force_company':comp_o_id }
  product_obj.write(cr, uid, product_id, {'property_account_expense':account_expense_o_id[0]}, context=ctx)

  may be I miss smething

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1083005/+subscriptions


Follow ups

References