Skip to content

Commit

Permalink
[FIX] mrp_multi_level: avoid create warehouse in mrp area view
Browse files Browse the repository at this point in the history
Avoid bug that occurs when clicking "New" on the warehouse_id field if the Storage Locations setting is not active.
  • Loading branch information
RicardCForgeFlow committed Jan 10, 2025
1 parent 6f2929f commit ea5c877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrp_multi_level/views/mrp_area_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<field name="arch" type="xml">
<list>
<field name="name" />
<field name="warehouse_id" />
<field name="warehouse_id" options="{'no_create': True}" />
<field name="company_id" groups="base.group_multi_company" />
<field name="location_id" />
<field name="location_id" options="{'no_create': True}" />
<field name="calendar_id" />
</list>
</field>
Expand Down

0 comments on commit ea5c877

Please sign in to comment.