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

SS improvement with ACL groups #19

Open
wants to merge 8 commits into
base: 7.0
Choose a base branch
from
Open

SS improvement with ACL groups #19

wants to merge 8 commits into from

Conversation

lynndotconfig
Copy link
Contributor

This pull request is responsible for some placle:

View improvement

  • add a checkbox in SOL model ("Preparation"), only visible for "warehouse - sale shipment":
    No need in form view. Add it in tree view (the one from the menu Sale Order Lines), before status
  • In SS: modify tab "Contained Product"name => "Max Quantities"

Add 3 ACL groups

  • sales shipment - manager
    => can manage all sales shipments (all buttons etc.)

  • sales shipment - user
    => can assign SOL, assign final quantity, remove SOL in draft. Cannot modify/delete Max Quantities, cannot confirm all SOL or cannot close shipment.

  • warehouse - sale shipment with following:Add menu Sale shipment in warehouse/Receive/Deliver Products (before last)
    => can see sale shipment but cannot modify anything

  • Add menu Sale order lines in warehouse/Receive/Deliver Products (last)
    => can see sales order lines but can only modify the checkbox in SOL ("Preparation")

    Some modification may not be finished, I'm working on them asap.

@duanyp1991
Copy link
Contributor

Travis is red.

@@ -127,6 +127,9 @@
<xpath expr="//tree" position="inside">
<field name="sale_shipment_id" readonly='1'/>
</xpath>
<xpath expr="//tree/field[@name='state']" position="before">
<field name="is_preparation" />
Copy link
Contributor

Choose a reason for hiding this comment

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

this field needs to be added at SOL level no?

@elicoidal
Copy link
Contributor

I am not sure you will get travis green for Minimax before some time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants