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
[ADD] mrp_project #56
Conversation
================ MRP Project Link ================ It links projects and tasks to *manufacturing orders* (MO) and *work orders* (WO). Usage ===== In a manufacturing order (MO), you can select a project to be attached to it. If none is selected, when the MO is confirmed, a project is automatically created. When the MO starts, a task is created and assigned to the order.
@pedrobaeza During my test, I ended up with one task for the manufacturing order and one task for each work order. Is it intentional ? What is the requirement behind this behavior ? I was expecting tasks only for the work orders. Otherwise 👍 |
This is intentional to provide one general task for manufacturing order where placing works (times) for manufacturing pre-operations, post-operations... and another per work order for having granularity for each of the phases of the production. In a later module that I'm proposing later today, it can even be duplicated and assigned to each of the workers assigned on the workcenter. |
If this could help, I will try to explain the functional behavior of this desing. Apart the one explained by @pedrobaeza, there is some companies where is too complex to assing a task for each operator that is working on MO. They even don't know who is going to work in one operation depending on the production on each moment. But... if you set workers more than cero on routing line system will create as many tasks as workers you indicated. @pedrobaeza I don't know if maybe it would be interesting adding this kind of explanation in readme. Wishing this helps... |
@pedrobaeza @anajuaristi Ok, I understand. Maybe you could add in the description of this task something like:
|
|
What @anajuaristi says is going to be in mrp_operations_project module. |
Then please add in README configuration section that you must Go to Settings - configuration - project and enable Log work activities on tasks . If you don't enable this doesnt have any sense. Will be Any link from Work Orders to task? |
From task to mo and wo We did no include any link from wo to tasks because it's suposed that Takss can be filtered and grouped by mo, wo and of course by user It would be really easy to add shortcut from wo to tasks if needed
|
OK, then:
I would like to here more opinions in this matter. IMHO this must be done by another module, let's say mrp_project_task and leave this mrp_project the most lighter and cleaner without MRP fields in tasks |
Please, don't continue here this discussion because this module is not the proper one. You need to see mrp_operations_project where the link is made. |
Tasks doesn't make sense in the MO. They're added on the WO. A link to the project in the MO does, what is there. You click, and navigate to the project then. |
Hi I already commented to Ana before. I do not really see the benefit of that. If it is just to enter time you can enter timesheet lines associated to WO. You don't manage projects and tasks because it's a convenient place to enter time.. The world does not run like this :S |
@jbeficent about you comment, I could say: this module do this to organize work, assign task, schedule, plan... what would you answer me about this? |
World runs depending on glasses you use to take a look Please answer this question: To finish... if someone need also having timesheet directly on WO both ways
|
MRP Project Link | ||
================ | ||
|
||
It links projects and tasks to *manufacturing orders* (MO) and |
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.
s/it/This module
I agree, this module must be more general purpose and not only one type of glasses, that why we must split it it two modules: Granularity
Screenshoot 1
@anajuaristi , you mix future functionalities in this module. Please draw the design as for example with "Training module" as @yajo made in OCA/event#14 (comment) with a doc https://docs.google.com/document/d/1WiOB1yAWTR2aROpM6O632QWXwgG4hLRUpTHU2Pv4yEQ/edit#heading=h.vjtptnyqc313 and a diagram like @dreispt made https://drive.google.com/file/d/0B72Vums-E7oodlplWlhMQ2MxNVk/view?usp=sharing
Now I can say, please Ana, suppose you need yo link a MO with an account analytic account but you don't need to assign a time each of the workers, you only want to know the total time all the workers spent in the WO, and you don't want any task created, only input time. As @jbeficent say #56 (comment) the are more points of view and we must give granularity for giving more value to OCA modules Analysis, Cost analysis
If you want to place works means input times, if you want to input times is because you want to analyze whats going on with this time. Conclusion: account.analytic.account., not project. In fact, **every project has account.analytic.account for this purpose. The same makes Odoo see above screenshot 1
I think we must draw a most general view of the puzzle. If today we only think one case of use: create task from MO TOMORROW this will fight with creating MO from task with is one of the objetive for Odoo to win SAP mature standards (in SAP project task and work orders is the same table, SAP lets manage MRP from Project using BoM without MO). ConclusionPlease think in all possibilities, this module must be core and NOT determinate future modules and much less cost analysis. |
The link of MO to analytic account must be a separate module. It must be the cornerstone to link MO costs, independently how. See: |
The behavior of the link with projects instead of analytic acccount(that is On the other side, if you need just to register global amount of cost of If you technicaly want to separate modules on several ones, including 2015-11-27 9:12 GMT+01:00 Jordi Ballester Alomar notifications@github.com:
CEO Avanzosc, S.L http://www.avanzosc.es : Office phone / Tfono oficina: _El contenido de esta comunicación y de toda su documentación anexa es _Komunikazio honen edukia eta dokumentazio erantsia konfidentziala da eta |
But Ana you CAN create a project from an existing analytoc account. Press the 'Task' flag. |
Ok, I see. This functionality has been included on version 8. If you create an So... OK, this way I don't mind if MO is showing analytic account or Who is going to start making this "cleaning" and "module spliting" tasks? 2015-11-27 9:28 GMT+01:00 Jordi Ballester Alomar notifications@github.com:
CEO Avanzosc, S.L http://www.avanzosc.es : Office phone / Tfono oficina: _El contenido de esta comunicación y de toda su documentación anexa es _Komunikazio honen edukia eta dokumentazio erantsia konfidentziala da eta |
|
OK, Antiun assume it. Objective:
@jbeficent @anajuaristi @max3903 @pedrobaeza are you agree? |
Yes. I agree. At the end, we are using analytic account on MO to generate stimated and @pedrobaeza opinion? 2015-11-27 9:52 GMT+01:00 Rafael Blasco notifications@github.com:
CEO Avanzosc, S.L http://www.avanzosc.es : Office phone / Tfono oficina: _El contenido de esta comunicación y de toda su documentación anexa es _Komunikazio honen edukia eta dokumentazio erantsia konfidentziala da eta |
OK, I will do it. |
@pedrobaeza I have created a new PR for module mrp_production_order_analytic: #58 The name mrp_analytic is way too broad concept IMHO. We need to be specific in the naming of what this module does. There are many modules provided by other authors such as Vauxoo, OdooMRP, Eficent,... that make us of the analytic account in manufacturing orders, but using different approaches. These should be incorporated, as separate modules. For example, the concept of copying the analytic account from the MO to the associated stock moves is essential for us, but others may think that it is not.. so we can keep it as a separate module. |
Why? I said yesterday that I was going to do it. We have double efforts. For what are we coordinating here? Anyway, the name mrp_analytic is the right one, because the rest of the modules are not OCA, so this one should be the reference one in one hand, and can group all the stuff related to link analytic with mrp in the other, although now only covers production orders. Another topic is the repository: all the transversal modules to analytic are in account-analytic, so we should host this module in that repo. |
Ok, then disregard that one
|
@rafaelbn, @anajuaristi, what do you think about the target for mrp_analytic: here of in OCA/account-analytic? |
Both would be correct. |
I'm opening a new PR to clean comment history. |
MRP Project Link
It links projects and tasks to manufacturing orders (MO) and
work orders (WO).
Usage
In a manufacturing order (MO), you can select a project to be attached to it.
If none is selected, when the MO is confirmed, a project is automatically
created.
When the MO starts, a task is created and assigned to the order.