Skip to content
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

[9.0][FIX] sale_automatic_workflow: Add security groups to avoid show information always #394

Conversation

sergio-teruel
Copy link
Contributor

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only sales manager?

@sergio-teruel sergio-teruel force-pushed the 9.0-PR-sale_automatic_workflow-security-groups branch from e052775 to 543534c Compare January 21, 2017 07:15
@sergio-teruel
Copy link
Contributor Author

Other repo modules changes:

  • sale_exception

@sergio-teruel sergio-teruel force-pushed the 9.0-PR-sale_automatic_workflow-security-groups branch from 543534c to 51b5007 Compare January 31, 2017 07:01
@sergio-teruel
Copy link
Contributor Author

@pedrobaeza update for base.group_user

@pedrobaeza
Copy link
Member

pedrobaeza commented Jan 31, 2017

Well, I was thinking more on sales user, as employee doesn't see that objects.

@sergio-teruel sergio-teruel force-pushed the 9.0-PR-sale_automatic_workflow-security-groups branch from 51b5007 to aa1a7eb Compare February 24, 2017 09:56
@rafaelbn rafaelbn added this to the 9.0 milestone May 30, 2017
@@ -95,6 +96,7 @@
<field name="name">sale_exception.view_order_tree</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_tree"/>
<field name="groups_id" eval="[(4, ref('base.group_user'))]"/>
<field name="arch" type="xml">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes more sense to me to assign this to the sale user

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change in this commit aa1a7eb

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this commit is not here in this PR...

sale_exception/views/sale_view.xml Outdated Show resolved Hide resolved
@pedrobaeza
Copy link
Member

@sergio-teruel please change the user to finally merge this.

@rafaelbn
Copy link
Member

Ping @sergio-teruel

Copy link
Member

@rafaelbn rafaelbn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a long time in production environment 👍

@pedrobaeza
Copy link
Member

There are still comments unattended.

@sergio-teruel
Copy link
Contributor Author

@pedrobaeza I changed the group in this commit aa1a7eb

… information always.

[9.0][FIX] sale_exception: Add security group to minimal sales group to avoid show information always.
@sergio-teruel sergio-teruel force-pushed the 9.0-PR-sale_automatic_workflow-security-groups branch from 233672b to 978db93 Compare June 11, 2018 14:16
@sergio-teruel
Copy link
Contributor Author

@aheficent Fix security groups

Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -69,6 +69,7 @@
<field name="name">sale_exception.view_order_form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="groups_id" eval="[(4, ref('base.group_sale_salesman'))]"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this one only on sales manager?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are mistaken.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agh, incorrect line for commenting. It's in the above change the one that it's only on managers.

@yajo
Copy link
Member

yajo commented Jun 12, 2018

Travis is ❌

@rafaelbn
Copy link
Member

rafaelbn commented Mar 7, 2019

@sergio-teruel could we fix travis and merge this please?

@victormmtorres
Copy link

Problem is with cr.commit() perhaps not in the guidelines of OCA by the time was merged

So it's here on the 9.0 branch https://github.com/OCA/sale-workflow/blob/9.0/sale_automatic_workflow/models/automatic_workflow_job.py#L29

@pedrobaeza
Copy link
Member

Closing as this is out of interest now

@pedrobaeza pedrobaeza closed this Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants