Community mailing list archives

community@mail.odoo.com

Re: Odoo with complex workflow, BPM integration

by
XPANSA, Oleg Kuryan - Chief Technical Officer, Xpansa Group
- 07/21/2016 04:09:06

Really Interesting thread. 

Recently we faced the same issue on our projects and ended up that Odoo is not flexible enough in terms of building hard processes.
Together with customer we came to concept of Delegation of Authority Matrix. It is all around amount of money that are expensed (for purchases, travel and etc.), so not around project management or etc. After reviewing several other implementation in other software we built solution that allowed to define: 
1) Who can approve budgets (user roles)
2) What budgets that role can approve (purchase, travel and etc.)
3) Approval limits in money equivalent (this level can approve and be notified about budget from 1000 to 10000, this role about 10000 to 100000) and etc.)

Note this concept is working with budget module from Odoo that was extended A LOT (default implementation of Odoo is really not working at all in real life). So it closes 2 needs:
- If expense is done within planned budget - no approval needed
- If expense is overbudget, than Delegation of Authority starting to work

Because of so much involved it is not easy to isolate that code so for now it is not shareable at all.

I see that concept of Vaxoo in this video https://drive.google.com/file/d/0B1w9gokcJL9hdjV4MXZhMnJKSEE/view?usp=sharing is good. So also will be interested to see how it works.



On Thu, Jul 21, 2016 at 10:18 AM Markus Menner | axxelia <markus.menner@axxelia.com> wrote:

Hi guys,


it would be very interesting to integrate a BPMN capable BPM engine into Odoo.


Combined with a dynamic form generator for user tasks that can update Odoo models.

Would be very cool...

Best regards
Mit freundlichen Grüßen

Markus Menner

 



axxelia GmbH & Co. KG
Herrenstraße 45, 79098 Freiburg
Telefon: +49 (0)761 205514-00
Telefax: +49 (0)761 205514-10
Mobil: +49 (0)1520 4144440
Sitz der Gesellschaft: Freiburg 
Amtsgericht Freiburg HRA 703295

Persönlich haftende Gesellschafterin: 
axxelia Verwaltungs GmbH
Herrenstraße 45, 79098 Freiburg
Sitz der Gesellschaft: Freiburg
Amtsgericht Freiburg HRB 709896 
Geschäftsführer: Markus Menner


Confidentiality: This e-mail and any attachments are confidential and may also be privileged. They are intended solely for the recipient’s use. If you are not the named recipient please notify the sender immediately and do not disclose the contents to another person, do not use it for any purpose or store or copy the information in any medium. 


Vertraulichkeit: Diese e-Mail sowie alle Anhänge sind vertraulich. Sie sind allein für den angegebenen Empfänger bestimmt. Wenn Sie nicht der angegebene Empfänger sind, informieren Sie bitte umgehend den Versender und geben Sie den Inhalt gegenüber keiner anderen Person preis, benutzen Sie die Mail nicht für andere Zwecke und speichern oder kopieren Sie die hier enthaltenen Informationen nicht auf irgendeinem Datenträger.





Am 21.07.2016 um 06:27 schrieb Cody Kitterman <ckitterm@gmail.com>:

"We know and like the current workflow of Odoo. It is good for how it being used, but we are looking at something different and more complex.
  • A user sending a request for budget approval. It should goes to approver task, which allow approver to interact (yes, no, reject, etc.)
  • The request will be send to 10 person in parallel to approve.
  • If 2 out of 3 has approved, the budget is considered approved, and move to next stage (and the request is removed from the rest).
  • Time limit for the approval, if time beyond the limit, the budget request will be send to the supervisor of the 1st level approver.
  • Or if the approver is on vacation, it redirect to his supervisor too.
  • The approvers is determined by some rules based on character and critical of the budget request.
  • If there is no eligible approver available yet, some other sub process can be entitle the approval.
  • Etc.
The list can goes on. In this kind of situation, the normal Odoo workflow (to keep status of budget document) can stay as is. But there should be another layer of BPM that manage the complex business process.

I know those things looks overly complicated, but it is some thing a really big organization can have."

Shooting from the hip here, but doesn't that fit the Finite State Machine Pattern? The abstract models could hold/represent the state transition table, etc...


Another example ("Guards" being domains)
Intro from MIT in Python


R/S
Cody K.





On Tue, Jul 19, 2016 at 4:42 AM, moulay rachid Hachimi <moulayrachidhachimi@gmail.com> wrote:
any news about this post ,any update on this module?
On Thu, Jul 23, 2015 at 10:39 PM, Humberto Arocha <hbto@vauxoo.com> wrote:
Hi, Kitti U.

This module developed by Vauxoo will be available soon

We are still smoothening rough edges, if eager to check it
as soon as possible contact me privately.

Best Regards.

Quien suscribe,

Hbto


On Wed, Jul 22, 2015 at 8:38 PM, Kitti U. <kittiu@ecosoft.co.th> wrote:

Hi Humberto,

Yes it does look like that we want to achieve. I like the idea if having workflow section at the bottom of page as it make things simple (I was thinking that we will need separate doc and subflow).

This is generic enough for used with any document right?

Are there ways for me to check the code out even it is still beta?

Thank you
Kitti

On Jul 22, 2015 12:38 AM, "Humberto Arocha" <hbto@vauxoo.com> wrote:
Hello Community guys,

We at vauxoo has been working on an Abstract Module to achieve what Kitti 
has been suggesting.

https://drive.google.com/file/d/0B1w9gokcJL9hdjV4MXZhMnJKSEE/view?usp=sharing

A sneak peak on that work can be watch the link above.

Best Regards.

Quien suscribe,

Hbto


On Sun, Jul 19, 2015 at 7:37 AM, Kitti U. <kittiu@ecosoft.co.th> wrote:
Dear community,

We are wonder if anyone has done integration with real BPM engine, like Processmaker, Bonita or Activiti.

We know and like the current workflow of Odoo. It is good for how it being used, but we are looking at something different and more complex.

For example, says, there is a budget request to be approved. In big organization, this could be very complex.

I.e,,
  • A user sending a request for budget approval. It should goes to approver task, which allow approver to interact (yes, no, reject, etc.)
  • The request will be send to 10 person in parallel to approve.
  • If 2 out of 3 has approved, the budget is considered approved, and move to next stage (and the request is removed from the rest).
  • Time limit for the approval, if time beyond the limit, the budget request will be send to the supervisor of the 1st level approver.
  • Or if the approver is on vacation, it redirect to his supervisor too.
  • The approvers is determined by some rules based on character and critical of the budget request.
  • If there is no eligible approver available yet, some other sub process can be entitle the approval.
  • Etc.
The list can goes on. In this kind of situation, the normal Odoo workflow (to keep status of budget document) can stay as is. But there should be another layer of BPM that manage the complex business process.

I know those things looks overly complicated, but it is some thing a really big organization can have.

We used to achieved that with some kind of BPM engine + Rules engine. Those engine, we normally can design business diagram with different nodes, i.e., timer node, decision node, escalation node, data request node, etc. 

I am wondering how this can be achieved with Odoo itself (will be great) or if anyone have done integration with BPM to achieve it? or any addons to do such things.

Looking forward to listen to your thought !!!

Kind Regards,
--
Mobile: +66-(0)8-1841-7480
Your ERP Partner => www.ecosoft.co.th

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

--
Moulay rachid HACHIMI   ERP Functional and Technical analyst

Tel          :          +212654039440
Email      :          moulayrachidhachimi@gmail.com
Skype     :          moulayrachidhachimi
Twitter    :          https://twitter.com/HachimMoulay

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

<span id="cid:7FCF30B4-F47D-4C74-81A7-24E471B4DA29@fritz.box"><FSM.png>

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe