-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[IMP] inventory: CRL - replenishment & visibility days #11444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The BE expert reached out and told me there's still stuff for me to improve 🙈 I'll ping you on discord when this PR is ready, @hojo-odoo ! |
3ac0dbd to
e75a8dd
Compare
e75a8dd to
4fbb71e
Compare
|
Wanted to log here that I've received extensive help from Charlotte (crl), who in each review, provided a ton of feedback and resources to enhance our documentation. Based on her feedback, this PR grew and grew and touched more files, with the following reviews and dates:
|
4fbb71e to
80b4362
Compare
|
Finished another round of feedback from CRL: https://app.excalidraw.com/l/65VNwvy7c4X/6bfO4CXWwKr |
|
Hi @benderliz 😊 To try to help you gain exposure to replenishment through Odoo, can I get your help reviewing this reallyy massive PR? There are four documents that were changed:
I mostly need help with reordering_rules. Should I ask @hojo-odoo to help review lead_times.rst and replenishment.rst? |
72f8e0c to
facaf62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Felicious! I just want to say thank you for all of your hard work on this massive PR to improve and clarify the varying replenishment options and configurations.
I've reviewed CRLs incredibly helpful excalidraws against the current state of your PR and everything is looking pretty good to me! I found a couple instances you may want to double check, as well as a couple technical things to fix, and of course some optional suggestions :)
Please note this is just another peer review, due to the size of this PR, please tag me again after @benderliz's review for a final tech review. Thank you! 🚀
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment/report.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Show resolved
Hide resolved
58e09f9 to
d4c4ca5
Compare
|
@benderliz Reminder to review this (: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something happened and I can't see my comments...finishing review to see if they re-appear
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
| Each triggers the creation or suggestion of a purchase order (PO) or manufacturing order (MO), with | ||
| the best choice depending on the business process. | ||
|
|
||
| .. cards:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is such a cool UI feature, Felicia! Love this choice. I think I found an RST fix for making the column size of the cards more equal (in the runbot rendering, they're sized unequally).
I am thinking it's this width syntax. I would guess they should each be set to 33%? Here's the how-to article: https://sphinx-design.readthedocs.io/en/latest/cards.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I purposefully made reordering rules bigger because it's the most relevant doc of the three (:
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
|
|
||
| - :guilabel:`Vendor`: When the selected :guilabel:`Preferred Route` is :guilabel:`Buy`, setting the | ||
| :guilabel:`Vendor` field to one of the multiple vendors on the vendor pricelist indicates to Odoo | ||
| that is the vendor to prioritize when making orders. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be more explicit - if that is the vendor to prioritize, does Odoo automatically populate this vendor on POs then?
|
|
||
| - :guilabel:`Bill of Materials`: When the :guilabel:`Preferred Route` is set to | ||
| :guilabel:`Manufacture`, and there are multiple |BoMs| in use, specifying the desired |BoM| in the | ||
| replenishment report prioritizes it for draft manufacturing orders triggered by reordering rules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question - what does prioritizing mean in this context?
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
|
|
||
| - :guilabel:`Procurement Group`: is a way to group related purchase or manufacturing orders that | ||
| are tied to fulfilling a specific demand, like a |SO| or a project. It helps organize and track | ||
| which orders are linked to a particular demand. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what is meant by "a particular demand".
| Procurement groups link replenishment methods to demand, enabling smart buttons to appear when | ||
| using the :ref:`MTO route <inventory/warehouse_storage/mto-route>`. | ||
|
|
||
| .. figure:: reordering_rules/po-smartbutton.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the words 'Procurement Group' anywhere in this image. A little confused what I am looking at.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally done! Sorry I had to group these comments separately. (I hit a keystroke that made it look like I lost my previous comments, but I still saw the 'Finished your review' button, so I hit it to make sure they weren't lost.)
GREAT JOB, Felicia! There was a lot in this PR, and you handled it all very gracefully! After taking a look, this is fine to pass to technical review.
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
| This is achieved using the :ref:`forecasted date <inventory/warehouses_storage/forecasted-date>`, | ||
| which determines when replenishment is necessary to avoid overstocking. | ||
|
|
||
| The :ref:`forecasted date <inventory/warehouses_storage/forecasted-date>` is the **earliest possible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the ref could be deleted here, since it's included in the previous sentence.
| date** to receive a product if the replenishment process starts immediately. It is calculated by | ||
| summing the lead times linked to the replenishment process, such as :ref:`vendor lead times | ||
| <inventory/management/purchase-lt>` and :ref:`purchasing delays | ||
| <inventory/management/purchase-security-lt>` for purchases, or manufacturing lead times for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a :ref: for manufacturing lead times.
| .. example:: | ||
| A product has a manual reordering rule set to trigger when the stock level falls below four | ||
| units. The current on-hand quantity is ten units. | ||
| For a product with a 5-day total lead time and a sales order delivery date in 10 days, Odoo waits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clear, easy-to-understand example!
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
| The forecasted date is never pushed forward or extended; only if the stock at the forecasted date | ||
| arrives below the minimum threshold is when Odoo checks the extra visibility days. | ||
|
|
||
| Example where visibility days is triggered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example is SO helpful! Great job!! Do you think it should be in an .. example:: block instead?
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
c8dac20 to
9ca2924
Compare
|
HI @samueljlieber ! This PR is ready for tech review (: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Felicious! This PR looks great to me! Fantastic job on this huge lift. I have just a couple quick comments for your consideration, otherwise this is good to go! I anticipate a couple conflicts with the FWPs, so please let me know if you want any help resolving them. Thank you for your hard work! 🚀
.....
@robodoo delegate=Felicious
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
content/applications/inventory_and_mrp/inventory/warehouses_storage/replenishment.rst
Outdated
Show resolved
Hide resolved
...plications/inventory_and_mrp/inventory/warehouses_storage/replenishment/reordering_rules.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Sam Lieber (sali) <36018073+samueljlieber@users.noreply.github.com> Co-authored-by: Liz Bender <92882399+benderliz@users.noreply.github.com>
9adf17a to
5b3604f
Compare
|
@robodoo r+ |
closes #11444 Signed-off-by: Felicia Kuan (feku) <feku@odoo.com> Co-authored-by: Sam Lieber (sali) <36018073+samueljlieber@users.noreply.github.com> Co-authored-by: Liz Bender <92882399+benderliz@users.noreply.github.com>


Fix inaccuracies about visibility days explanation, with improved example and supportive imagery to visualize how the dates work together.
Changelog
FWport: to master