← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 804991] Re: Cant process picking in multi-company environment

 

Hello,

The period related problem is already fixed in lp:~openerp-dev
/openobject-addons/account_voucher_rework_ara branch.

But I have faced the another problem at picking time for multi-company
which is stock journal property field doesn't set company properly.

The Stock journal property field created from demo data and the related
company doesn't set properly.

So whenever we have process the picking for multi-company we will faced
the same constraint message.

That's why I would like to suggest community team they can assign this
bug to related team for this problem.

Thanks,
ara

-- 
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/804991

Title:
  Cant process picking in multi-company environment

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  In 6.02
  With 2 companies A and B, 2 charts of account and 2 periods set, one for each company. 
  Creating a purchase order and then I try to process the "incoming shipment".
  When click in "Process", then in subform in "Validate" I receive the following message:
  Error occurred while validating the field(s) company_id: Company must be same for its related account and period.

  This is due to the fact that no periods are passed in stock_partial_move.do_partial()
  And then in account._get_period(), all periods are returned and the first period is chosen instead of chosing the one corresponding to the user.
  Maybe change in _get_period()
         periods = self.pool.get('account.period').find(cr, uid)
  and add a filter according to the user

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


References