Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

MO Consumed Goods values not updated from PO

Subscribe

Get notified when there's activity on this post

This question has been flagged
manufacturingmrp
1 Reply
4435 Views
Avatar
Phillip Stack, Phillip

When a MO has been generated after the execution of the Inventory Scheduler and an RFQ and subsequent PO is issued to fulfill the BOM for the manufactured part we expect that the appropriate stock moves ( MO’s Consumed Materials: stock.move ) would be updated with the Purchase Order Line, Forecasted Quantity, Expected Date to fulfill the BOM’s requirement.

The primary goal is just to have an understanding of whether or not the parts have been ordered.

The stock.move has fields for the following

Purchase Order Line: purchase_line_id

Forecasted Quantity: availability

Expected Date: date_expected


I have found a bunch of code relating to the above fields which appear to try to update the stock.move records when the Purchase Order Line has been written to. These functions appear to be predicated on the purchase_line_id of the stock.move record. In my testing I have not found any purchase_line_id on the stock.move records which I expect is the cause of the issue.


Because Odoo identifies the stock.move records to update by searching for stock moves with the same purchase_line_id as the Purchase Order Line in question then Odoo can't do that if the field is not set.

So I guess my question is what would cause the purchase_line_id to not get written to the stock move and under what circumstances should I expect the purchase_line_id to be written to a stock move?

0
Avatar
Discard
Avatar
Ray Carnes (ray)
Best Answer

Part are ordered when the Purchase Order is confirmed.  Although the reason the parts are being ordered is because there is a Manufacturing Order, there is no other relationship between the parts and the Manufacturing Order until after the parts are received and are then reserved.  Stock moves that the Manufacturing Order is expecting to be completed (when parts are consumed) trigger procurement of parts not in stock.  Stock moves that the Purchase Order is expecting to be completed (when parts are received) are separate.  The parts ordered might not even be the ones reserved for the Manufacturing Order.

Are you trying to determine from a specific Manufacturing Order if the parts for it have been ordered?


2
Avatar
Discard
Phillip Stack, Phillip
Author

Yes. What is happening is we run the scheduler, the MO is generated, the RFQ is created and then confirmed. However it is not obvious when we look at the MO that these parts are on order.

Thanks very much Ray for taking the time to respond. I really appreciate your input.

Phillip Stack, Phillip
Author

I am getting the feeling that we have imagined this functionality or link between the MO and the PO and as you said, it just is not there.

Ray Carnes (ray)

Correct. The parts ordered by the scheduler are aggregated from all the possible documents that can trigger procurements: reordering rules; sales orders; other manufacturing orders. You may need 15 for a single Manufacturing Order but 1,000 are ordered. There is no way to link the 15 you need to 15 of the 1,000 ordered. It is like when you order French Fries - it is up to the order that other people's needs to French Fries are processed that determine which actual French Fries are yours - and that isn't known until you know how many other people want them, in which sizes, and how many are dropped on the floor during packaging.

Phillip Stack, Phillip
Author

Thanks Ray. I think this has answered my question. I am creating a follow up question regarding how best to know when to order inventory to avoid scope creep on this posting.

Thanks again!

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
MRP quantity variation
manufacturing mrp
Avatar
Avatar
1
Feb 23
4912
One part created via different operations
manufacturing mrp
Avatar
0
Feb 22
3157
Manufacturing Costing
manufacturing mrp
Avatar
1
Sep 21
2841
TypeError: argument of type 'bool' is not iterable
manufacturing mrp
Avatar
Avatar
Avatar
3
Aug 15
12117
Influence MRP date_planned from SO requested_date
manufacturing mrp
Avatar
Avatar
Avatar
5
Jun 15
4954
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now