Community mailing list archives

community@mail.odoo.com

Re: "Owner On Stock" - where to enter owner_id?

by
Camptocamp SA, Joël Grand-Guillaume
- 04/01/2015 08:19:11
 2) Take the delivery, Add the owner A, transfer
 3) The related quant must contain the owner A

 4) Make a SO
 5) Source it from stock, with owner A
 6) The related quants with the proper owner should be reserved.

Regards,

Joël


On Wed, Apr 1, 2015 at 1:11 PM, Gunnar Wagner <gunnar.wagner@irisgermanica.com> wrote:

hi Joel,

>> I think you should not use the partner_id on location if you want to use ownership at quants level. This way, you can have several stock from several owner in the same place. That was the initial goal, but I may miss something here.

I also rather wouldn't do that. I just mentioned that as a workaround because in my current scenario the actual Owner assigned to a quant in the "Transfer" step is overwritten by the owner of the location (at least that's the behaviour I am experiencing)
so for now, I can't get what I want (defining Owner on a Quant independent from owner of the location)

I just wonder whether that's a bug, or something in my scenario is responsible for this (OCB 8.0 latest commit 53db341fd74538f2546acdfacb98f042ed24fa6e).





<blockquote cite="mid:CACk3wOJL-4vvm9h81d-rP_3on8VPfVt9+m5RREUQ6Q4HcLrtwA@mail.gmail.com" type="cite">

On Wed, Apr 1, 2015 at 8:40 AM, Gunnar Wagner <gunnar.wagner@irisgermanica.com> wrote:
hi Yoshi

On 3/31/2015 2:42 PM, Yoshi Tashiro wrote:
<blockquote cite="mid:034701d06b7d$5b817840$128468c0$@roomsfor.hk" type="cite">
Ok, I think there is a minor (or maybe not so minor) glitch.  What I have observed is that if you press 'Transfer' in picking before keying in owner, the system takes owner from location.  Otherwise, the owner in the picking should prevail.
yes, that's right. But due to that I key in an owner before hitting "Transfer" and still the owner is overwritten by the owner of the warehouse location that receives the products after the transfer.


<blockquote cite="mid:034701d06b7d$5b817840$128468c0$@roomsfor.hk" type="cite">
I haven't confirmed but I think pressing 'Transfer' generates a pack operation record which is used in generating detailed transfer record, so if the pack operation record has the incorrect owner (i.e. blank instead of the value you set in picking), the generated quants get the wrong owner. Can you confirm this behavior on your end?
I can't say I exactly knew what a 'pack operation" was. I have not touched packages so far. I aslo can not read from the comde what acutally happens I just see the behaviour.
Apparently hitting the "Transfer" button overwrites the Owner defined before with the owner of the location I dount that this is wanted behaviour, so maybe it can be regarded a bug?.
If we agree on that I gues one should open an issue on github

@ Leonardo ... what do you think
?



<blockquote cite="mid:034701d06b7d$5b817840$128468c0$@roomsfor.hk" type="cite">

From: Gunnar Wagner [mailto:gunnar.wagner@irisgermanica.com]
Sent: Tuesday, March 31, 2015 2:00 PM
To: Community
Subject: Re: "Owner On Stock" - where to enter owner_id?

 

hi Yoshi, thanks for doing a test

>> Your second case should work as I tried in my environment.  When you set an owner in picking (the screen you reach by clicking on 'Receive Products' on PO), it should be passed on to received quants.

that's what I would expect as well. And it's exactly what I do. I choose an Owner in the picking. But this Choice is not respected by the system.
After the transfer of the goods the owner of the warehouse/location owns the prodcts, not the Owner I have assigned for the quant in the transfer

Are you sure you have not set a location owned by the same partner that also shall own the quant? That would be the workaround for I can get working




<blockquote cite="mid:030f01d06b5a$7ed3c1e0$7c7b45a0$@roomsfor.hk" type="cite">

From: Gunnar Wagner [mailto:gunnar.wagner@irisgermanica.com]
Sent: Tuesday, March 31, 2015 8:48 AM
To: Community
Subject: Re: "Owner On Stock" - where to enter owner_id?

 

I did some testing with "stock_ownership_availability_rules" which from what is said in the readme file should be doing what I want to achieve "...keep stock that belongs to someone other than our company."
now I am having trouble to use it and hopefully someone can point me in the right direction

Ideally I would be able to assign a Serial/Lof number to a lot of the same product and assign an Owner to it. If possible I would store the goods in a location that is owned by 'my company' (instead of creationg locations owned by the product owner

I figured to ways to work and both lack achieven one of these 2 goals

1) Incoming Products

>Purchase > Incoming Products >Create

   I choose a product A
   Owner: "XYZ"
   Company: "My Company"
   Destination Address "My Company"
   Source Location: "Partner Location/Suppliers"
   Destination Location: "WH/Stock"

>Save >Process Entirely

result: I have a Quant of Product A in the "WH/Stock" Location of "My Comapnay" with an Owner "XYZ"
I don't have a lot/Serial Number (and I don't see any way to asign one afterwards)



2) Purchase Order

>Purchase >Purchase Order >Create

   Supplier: "My Supplier"
   Company: "My Company"
   Deliver To: "My Company"
   add an Order line for: "Product A"

>Confirm Order

>Receive Products >Edit (I guess that is what everybody calls Picking or Picking List?)

Choose Owner: "ABC"

>Save >Transfer

A new form opens up (can be that THAT now is the famous Picking list?) where I add a Lot/Serial Nr. "1234"

>Apply

result: I have a Quant of Product A in the "WH/Stock" Location of "My Comapnay" with a Lot/Serial Nr. "1234"
I don't have the right ownership on this quant though. Owner is "My Company" and not "ABC" as I want it to be (and I don't see any way to change that afterwards). I found out I can fool the system whether I add a location owned by "ABC" but I would prefer whether I wouldn;t have to do that.

any pointers how to get both (Serial Nr. & owner as chosen on a Quant) would be great. I guess in the long run it would be best to go through Purchase Orders but I am not at the point where I am managing purchase actually yet.

On 3/27/2015 6:03 PM, Leonardo Pistone wrote:

<blockquote cite="mid:CAG0LJAf1VO+X773-FMmBZ116FeQ7e4_J-HC9waZ+TND7iMOSSg@mail.gmail.com" type="cite">

Hi Gunnar,

 

AFAIK stock ownership management is somewhat incomplete in odoo 8.0,
but we published some modules to make it work in a useful way (at
least for us). You can give a look to the descriptions in the READMEs:

 

- https://github.com/OCA/stock-logistics-workflow/tree/8.0/stock_ownership_availability_rules

 

- https://github.com/OCA/stock-logistics-workflow/tree/8.0/stock_ownership_by_move

 

- https://github.com/OCA/sale-workflow/tree/8.0/sale_owner_stock_sourcing

 

Best

 

On Fri, Mar 27, 2015 at 9:30 AM, Gunnar Wagner
<gunnar.wagner@irisgermanica.com> wrote:
> I want to use the "Manage Owner On Stock" funcionality in 8.0 but can't
> quite figure out how to access a key ingredient ... owner_id (which links a
> quant to a partner)

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

 

--

Gunnar Wagner | Iris Germanica Ltd. | JinQian Gong Lu 385, 8-201 | FengXian Qu, 201404 Shanghai | P.R. CHINA
+86 159 0094 1702 | +49 (0)176 7808 9090 | skype: professorgunrad |
www.fashionsupermarket.net

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

 

--

Gunnar Wagner | Iris Germanica Ltd. | JinQian Gong Lu 385, 8-201 | FengXian Qu, 201404 Shanghai | P.R. CHINA
+86 159 0094 1702 | +49 (0)176 7808 9090 | skype: professorgunrad |
www.fashionsupermarket.net

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--

Gunnar Wagner | Iris Germanica Ltd. | JinQian Gong Lu 385, 8-201 | FengXian Qu, 201404 Shanghai | P.R. CHINA
+86 159 0094 1702 | +49 (0)176 7808 9090 | skype: professorgunrad | www.fashionsupermarket.net

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--


camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


--

Gunnar Wagner | Iris Germanica Ltd. | JinQian Gong Lu 385, 8-201 | FengXian Qu, 201404 Shanghai | P.R. CHINA
+86 159 0094 1702 | +49 (0)176 7808 9090 | skype: professorgunrad | www.fashionsupermarket.net

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--


camptocamp
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

Joël Grand-Guillaume
Division Manager
Business Solutions

+41 21 619 10 28