[IMP] website_sale_aplicoop: surface the tax display setting on the Eskaera page

Pricing now follows website_sale, which includes the website's `Display
Product Prices`. That setting defaults to tax-excluded in 18.0, so a website
nobody configured shows Eskaera prices without VAT -- correct behaviour, but
easy to read as a bug when the members are consumers and expect the price they
will pay.

The setting is a related field website_sale already exposes, so it now appears
in the Eskaera block too, right where the co-op switches the feature on, rather
than only under eCommerce.

Tests cover both values on the shop and the listing paths, so the tax-excluded
case is a decision on record instead of a surprise.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
GitHub Copilot 2026-08-17 19:13:57 +02:00
parent 5a2f5d120f
commit f81c1ca8e7
2 changed files with 76 additions and 0 deletions

View file

@ -21,6 +21,21 @@
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" invisible="not eskaera_enabled">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<label for="show_line_subtotals_tax_selection" string="Product Prices"/>
<div class="text-muted">
Eskaera shows the same prices as the shop. Members
are consumers, so this is normally "Tax Included".
</div>
<div class="content-group">
<div class="mt16">
<field name="show_line_subtotals_tax_selection" class="o_light_label" widget="radio"/>
</div>
</div>
</div>
</div>
</div>
<h2>Shop Performance</h2>
<div class="row mt16 o_settings_container" id="eskaera_shop_settings">