Community mailing list archives

community@mail.odoo.com

Re: a word of caution about base action rules / Automated Actions

by
dom
- 06/23/2016 04:41:36
Do we know if the workflow engine will survive in v10 ?

Dominique KON-SUN-TACK  [Project Manager]
Odoo Gold Partner, best Odoo Partner 2014 for APAC

Mobile: + 65 8502 2399
Skype: dominique_elico

On 23 June 2016 at 16:32, Nhomar Hernandez <nhomar@vauxoo.com> wrote:

On Thu, Jun 23, 2016 at 3:12 AM, Alexandre Fayolle <alexandre.fayolle@camptocamp.com> wrote:
I tried that approach on a customer project and I am *not* happy with it at all. The problem is that a given automated actions can only trigger once in a transaction (apparently to avoid recursion). However, a single write on a record can trigger many other writes (because computed fields are updated for instance, or because). The consequence of this can be hard to track down inconsistencies because the action fired when the first write was made but was not called again when the dependent field was updated.

Thanks for bring it up.

We basically think thank without workflow engine behind it is almost impossible set complex validation strategies at least you touch the code and overwrite almost all methods in sale.order because the technical reason of remove the workflow was left more "free" the sales flow (which IMHO think is incorrect but I understand it is a personal opinion I am not ensuring this is an absollute true).

We have very very complex workflow already edveloped in v8.0 then those instances simply will die in v8.0 (or until the last saas-X with workflow WIP our revision yet).

The approach that Fabien mentioned action related is only when simple stuf must be done but when complex stuff are present vasically you need to overwrte a lot of methods (with all what you know it implies).

I think my biggest workflows will expect until v11-v12 (when they realize this was stupid remove the workflows as usual).

I think Odoo MUST offer the proper alternative but, well which is true also is that the people that buy the SaaS and want edit a confirmed sale order for example simply do not care at all about consistency in any place, the want a fancy SpreadSheet.

If you can link here the issues related may be we can find a proper global solution in community but for the new Odoo in terms of Sales and Purchases simply it is for little users not middle-big ones with serious control flows.

regards.


--
Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942

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