Skip to content

Commit

Permalink
[UPD] ssi_rma
Browse files Browse the repository at this point in the history
* Fix view
* Fix create delivery error
  • Loading branch information
andhit-r committed Dec 31, 2023
1 parent 1412e91 commit ad2ea21
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 3 additions & 2 deletions ssi_rma/models/rma_line_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,9 @@ def _get_delivery_procurement_data(self):
route = self.order_id.route_template_id.outbound_route_id
location = (
self.order_id.route_template_id.partner_location_id
or self.order_id.partner_id.property_stock_customer,
) # TODO
or self.order_id.partner_id.property_stock_customer
)

result = {
"name": self.order_id.name,
"group_id": group,
Expand Down
2 changes: 1 addition & 1 deletion ssi_rma/views/customer_rma_in_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
parent="ssi_stock.menu_incoming_movement"
groups="customer_rma_in_viewer_group"
action="customer_rma_in_action"
sequence="210"
sequence="103"
/>
</odoo>
2 changes: 1 addition & 1 deletion ssi_rma/views/customer_rma_out_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
parent="ssi_stock.menu_outgoing_movement"
groups="customer_rma_out_viewer_group"
action="customer_rma_out_action"
sequence="210"
sequence="103"
/>
</odoo>
4 changes: 2 additions & 2 deletions ssi_rma/views/rma_customer_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
<menuitem
id="rma_customer_menu"
name="RMA Customers"
parent="menu_rma"
parent="stock.menu_stock_warehouse_mgmt"
action="rma_customer_action"
groups="rma_customer_viewer_group"
sequence="10"
sequence="180"
/>
</odoo>
4 changes: 2 additions & 2 deletions ssi_rma/views/rma_supplier_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
<menuitem
id="rma_supplier_menu"
name="RMA Suppliers"
parent="menu_rma"
parent="stock.menu_stock_warehouse_mgmt"
action="rma_supplier_action"
groups="rma_supplier_viewer_group"
sequence="10"
sequence="180"
/>
</odoo>

0 comments on commit ad2ea21

Please sign in to comment.