Skip to Content
Menu
This question has been flagged
2661 Views

Hi, I'm creating a custom module, which will need to create a stock.move from itself, I know I can inherit the 'stock.move' object


But there are several steps on the original object that I don't need, I just need to transfer 'product_id' 'product_qty' from 'location_id' to 'location_dest_id'


How can I achieve this on Odoov8, I mean in the simplest way possible, I just need to do the transfer from a custom view, with these parameters only, is there some example I should look for?


I've seen this answer on SO: \Custom\ Move\\\

\But\ it\'s\ not\ 100\%\ clear\,\ this\ user\ had\ some\ other\ needs\.\\

Avatar
Discard

Hi, you can call create of any model's object from your method by passing required fields. If you have faced any specific problem please do specify.

Author

Hi, You can check this question: https://www.odoo.com/es_ES/forum/ayuda-1/question/account-move-is-not-being-created-odoo-v8-127051 - It is also a question of mine, regarding this very same subject

Related Posts Replies Views Activity
1
Aug 23
12548
1
Aug 23
11053
1
Jul 23
7228
4
Apr 23
8676
2
Feb 23
17598