Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Workflow Management
byOk.I solve that with pure custom dev and server actions (if sass)The mindset is:
- Now you can get the old_values from the env from a server action.
- Combine that with the method has_group(xml_id).
- log(message) if no blocking method.
- raise Warning() if blocking.
- A little of creativity!
Gualá ;-)I do several server actions because generally they will be evolving in the mean while your workflow improves (but try to think on them very well to avoid overload of pointless restrictions the system).To add elements to selection you need access to code (because add_selection is not available, but the WFK can be generally related to other fields than state itself).in studio).When it evolves and is stable (or when it is complicated enough) I use the same technique but copying the first version of the code to a module and following the OCA SQA that you know.On Tue, Jan 15, 2019 at 8:22 PM Eric Caudal <eric.caudal@elico-corp.com> wrote:Thanks Nhomar for the feedback.
Actually I am not so much interested in the graphical interface but more in the possibility to add for any model some stages with ACL (could be something similar to the stages in CRM with ACL for next and previous stages).
I do not know in advance the full stages and ACL and I need it to be configurable in the interface.
Eric Caudal [Founder and CEO] - Shanghai Elico Limited
Skype: elico.corp - Phone: + 86 186 2136 1670 (Cell) // + 86 21 6211 8017/27/37 (Office)
More information: https://www.elico-corp.com
Odoo Gold Partner // Best Odoo Partner APAC 2014, 2016 and 2018!
On 2019-01-16 10:07 a.m., Nhomar Hernández wrote:
I use.
Draw.io and program orthogonal in Odoo.
Why? even if I was one of the biggest defenders of the WFK engine, the real real true, is that it is the same effort have it graphically than orthogonal.
At the end neither Odoo or the WKF was complete ever.
Regards.
On Tue, Jan 15, 2019 at 8:02 PM Eric Caudal <eric.caudal@elico-corp.com> wrote:
Hi,
Has somebody made any development in v12 to replace the workflow management available in v10? Migration of previous functions (I am not even sure this is realistic) or new simpler concept in order to add a workflow with stages and roles to any object in Odoo
Thanks
Eric Caudal [Founder and CEO] - Shanghai Elico Limited
Skype: elico.corp - Phone: + 86 186 2136 1670 (Cell) // + 86 21 6211 8017/27/37 (Office)
More information: https://www.elico-corp.com
Odoo Gold Partner // Best Odoo Partner APAC 2014, 2016 and 2018!
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
--Nhomar Hernandez
CEO Vauxoo.Site: http://vauxoo.comTwitter: @nhomarBlog: http://nhomar.comGithub User: https://github.com/nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
HangOut: nhomar@vauxoo.com
Móvil Venezuela:
+58 4144110269 (Telegram)
Móvil México:
+52 1 4773933942 (Whatsapp)
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
----Nhomar HernandezCEO Vauxoo.Site: http://vauxoo.comTwitter: @nhomarBlog: http://nhomar.comGithub User: https://github.com/nhomarOdoo Gold PartnerSkype: nhomar00 (Envia mail previo no lo superviso siempre).HangOut: nhomar@vauxoo.comMóvil Venezuela:
+58 4144110269 (Telegram)Móvil México:
+52 1 4773933942 (Whatsapp)_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe