[7.0][stock] class stock_production_lot no default company_id

Bug #1234878 reported by Moisés López - http://www.vauxoo.com
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Low
OpenERP R&D Addons Team 2

Bug Description

Add field company_id next line
http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/head:/stock/stock.py#L1477

Without default company next line
http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/head:/stock/stock.py#L1480

And not have this field "company_id" in view.

This generate mixing informatión with multi-company users.

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

Hello Moises,

Camptocamp has reported the same issue in lp:1214866 for which a patch was provided.

Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :

Alexandre,
Thank you.

Offtopic,
The model res.currency there is default: company_id=False
I don't sure if this is a good idea.

What do you think?

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote : Re: [Bug 1234878] Re: [7.0][stock] class stock_production_lot no default company_id

On ven. 04 oct. 2013 16:40:53 CEST, Moisés López -
http://www.vauxoo.com wrote:
> *** This bug is a duplicate of bug 1214866 ***
> https://bugs.launchpad.net/bugs/1214866
>
> Alexandre,
> Thank you.
>
> Offtopic,
> The model res.currency there is default: company_id=False
> I don't sure if this is a good idea.
>
> What do you think?
>

Well, it is a good thing, and it was set that way because we reported
bugs with the previous setting in which the company_id of the standard
currency was 1 (the default company).

See https://bugs.launchpad.net/openobject-server/+bug/1111298

--
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 79 26 57 94

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.