Skip to Content
Menu
This question has been flagged
3 Replies
4141 Views

Hi guys. I'm testing odoo on my own server pc and had a question about manufacturing orders in odoo 10.

Let's say I have an MO for 50 units. 25 were produced by the end of the day so I click "produce" and enter 25. Then, in order to update inventory levels I'd click the "Post Inventory" button and it'd move 25 finished units to inventory leaving 25 to be made. 

When I try to repeat this on another MO it won't show the post inventory button. I haven’t changed anything and can't figure out why it's not there. 

Please can someone help. 

Avatar
Discard
Author

I have just found out the the post inventory button appears when the developer mode is activated.

Is there any way the button can appear when developer mode is not activated?

Best Answer

Hi,

What you have said is right, the Post Inventory button will be visible in the developer mode.

If  you have to make it to visible in the normal mode, what you have to do is that, just remove the group attribute from the button.


It can be done by the code or from editing the code from the user interface.

<button name="post_inventory" string="Post Inventory" type="object" attrs="{'invisible': [('post_visible', '=', False)]}" groups="base.group_no_one"/>

Just remove the groups="base.group_no_one" from the code.

UPTD : TO do this from user interface follow the steps

* Activate the developer mode

* Go to the manufacturing form view,  click on the lady debugger button (near logged in users name)



* Click on the Edit form view from that list, 

* Then from opening view, go to architecture section, and go through the code, see the line no 9 from it remove the groups attribute.

Thanks

Avatar
Discard
Author Best Answer

Hey Niyas,

Thanks very much for your reply.

I'm an Odoo newbie, would you mind telling me how to do this please?

(Sorry I replied in the answer field, I don't have enough karma points to comment yet!)

------------------------------------------------------------------------

UPDATE:

Hi Niyas,

You're a star! that worked just like I need it to - thanks very much!

Mark

Avatar
Discard

please see the updated answer