[FIX] point_of_sale: add the enterprise flag to the preparation display setting

The `Preparation Display` is only available in the `enterprise` version, but it's setting does not reflect that

This means that in community, one sees the option to enable the `Preparation Display`, without any sort of feedback as to why the optiondoes not actually work.

This PR adds the `enterprise` flag next to the name of the option. Now, when a user of the `community` version tries to enable the option, they are greeted with a popup that explains the situation.

closes odoo/odoo#124178

Task: 3349726
X-original-commit: b57b64158ab3c64f581ed643b0617ffac98bceee
Signed-off-by: Monnom David (moda) <moda@odoo.com>
Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
This commit is contained in:
vlst
2023-06-09 12:21:53 +02:00
parent 2922b05ea2
commit 517d21dda5
@@ -354,7 +354,7 @@
</div>
</setting>
<setting string="Preparation Display" help="Display orders on the preparation display" id="preparation_display">
<field name="module_pos_preparation_display"/>
<field name="module_pos_preparation_display" widget="upgrade_boolean"/>
</setting>
</block>