Add sudo() to pricelist_item and fiscal position fallback in _get_pricing_info so portal users can price the delivery product without triggering an AccessError on account.tax. Remove the redundant #home-delivery-btn click handler from website_sale.js — home_delivery.js already owns that button via bindShopHomeDeliveryButton(), which manages the active class and localStorage cart. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| exceptions.py | ||
| portal.py | ||
| website_sale.py | ||
| website_sale_i18n.py | ||
| website_sale_pickup.py | ||
| website_sale_pricing.py | ||
| website_sale_products.py | ||
| website_sale_utils.py | ||
| website_sale_validators.py | ||