I am trying to update acl tree structure I am using Magento b2b
CWS_ParentChild/etc/company_acl.xml
<resource id="Magento_Sales::all" title="Purchasing" translate="title" sortOrder="10">
<resource id="CWS_ParentChild::easy_add" title="Easy Add" translate="title" sortOrder="5"/>
<!--
To change place order(Magento_Sales::place_order) resource hierarchy first we disable from the current hierarchy and then add to the child hierarchy of the shopping_cart.
-->
<!--<resource id="Magento_Sales::place_order" title="Checkout (place order)" translate="title" disabled="true" sortOrder="20">
<resource id="Magento_Sales::payment_account" title="Use Pay On Account method" disabled="true" translate="title" sortOrder="30" />
</resource>-->
<resource id="CWS_ParentChild::jobber_price" title="Jobber Price/Margin" translate="title" sortOrder="20">
<resource id="CWS_ParentChild::shopping_cart" title="Shopping Cart/Saved Carts" translate="title" sortOrder="10">
<resource id="Magento_Sales::place_order" title="Checkout (place order)" translate="title" sortOrder="20"/>
</resource>
</resource>
<resource id="Magento_Sales::view_orders" title="View orders" translate="title" sortOrder="40">
<resource id="Magento_Sales::view_orders_sub" title="View orders of subordinate users" translate="title" sortOrder="40" />
</resource>
<resource id="CWS_ParentChild::view_locations" title="View Locations" translate="title" sortOrder="50"/>
</resource>
I am getting the below Error :-
1 exception(s):
Exception #0 (MagentoFrameworkExceptionLocalizedException): Invalid Document
Element 'resource': Duplicate key-sequence ['Magento_Sales::place_order'] in unique identity-constraint 'uniqueResourceId'.
Line: 42
Exception #0 (MagentoFrameworkExceptionLocalizedException): Invalid Document
Element 'resource': Duplicate key-sequence ['Magento_Sales::place_order'] in unique identity-constraint 'uniqueResourceId'.
Line: 42
it would be appreciated anyone help.