-
-
Notifications
You must be signed in to change notification settings - Fork 474
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
[RFC][14.0] (A) Manufacturing Materials Analytic Costs #569
Comments
mrp_analytic migration has been done: OCA/account-analytic#343 |
@dreispt comment on this design.
|
@agyamuta At this point we are want to use whatever is the standard cost for the Product. It would be good to have this logic in its own method, so that other cases can be added later. |
I agree to have other option in manufacturing to consume the raw material while it is not done, considering when the production time is quite long, the need is:
|
is there any odoo 13 version?? |
@bunhin I feel that this module probably has all you need for that, you just need to setup the proper accounts. @Ahmed-Saad225 No. And before it is ported, there is a refactor to do: I'm proposing here two separate modules for my use case, and I want to merge them into one, since I found the module split to introduce unneeded complexity. |
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Description
Manufacturing costs are only generated when a Manufacturing Order is closed.
This feature allows to track costs while the manufacturing is in progress.
This is done for raw materials used, by generating Analytic Items when the stock is reserved.
Usage
To use:
To analyze costs:
Tech design
New module
mrp_analytic_cost_material
, "Track raw material costs as Analytic Items during the manufacturing process".Depends on core
mrp
andmrp_analytic
from https://github.com/OCA/account-analyticMaturity: Alpha (this is a PoC, and only a piece for a larger puzzle)
Migrate
mrp_analytic
to 14.0:As is a required dependency.
Reference: OCA/account-analytic#275
Analytic Item (
account.analytic.line
)Add fields:
stock_move_id
field, stores the related Stock Move, generated on stock reservation for an MO.manufacturing_order_id
(mrp.production
).product_id.category_id
, stored.Add Views:
Stock Move
When stock is reserved for an MOOn a button click, run a process to generate an Analytic Item for the materials cost, including:If the stock is unreserved, delete the corresponding Analytic Item.The text was updated successfully, but these errors were encountered: