group order form notebook

This commit is contained in:
GitHub Copilot 2026-05-21 17:37:22 +02:00
parent 1b20142b6f
commit 98fe8676ea
5 changed files with 104 additions and 16 deletions

View file

@ -61,26 +61,25 @@
<field name="period" help="How often this order repeats"/>
<field name="pickup_day" help="Day when members pick up orders"/>
<field name="cutoff_day" help="Day when purchases stop"/>
<field name="home_delivery" readonly="1" help="Automatically enabled when a delivery product is configured"/>
<field name="delivery_product_id" help="Product to use for home delivery. Setting this enables home delivery."/>
</group>
</group>
<group string="Calculated Dates" name="calculated_dates">
<notebook>
<page string="Calculated Dates" name="calculated_dates">
<group>
<field name="cutoff_date" readonly="1" help="Automatically calculated cutoff date"/>
<field name="pickup_date" readonly="1" help="Automatically calculated pickup date"/>
</group>
<group>
<field name="delivery_date" readonly="1" help="Automatically calculated delivery date (pickup + 1 day)"/>
</group>
</group>
<group string="Description">
<field name="description" placeholder="Free text description..." nolabel="1"/>
</group>
<group string="Delivery">
</page>
<page string="Description" name="description">
<field name="description" placeholder="Free text description..." nolabel="1"/>
</page>
<page string="Delivery">
<field name="home_delivery" readonly="1" help="Automatically enabled when a delivery product is configured"/>
<field name="delivery_product_id" help="Product to use for home delivery. Setting this enables home delivery."/>
<field name="delivery_notice" placeholder="Information about home delivery..." nolabel="1"/>
</group>
<group string="Product Catalog">
</page>
<page string="Product Catalog">
<group string="Included Products" col="2">
<field name="supplier_ids" widget="many2many_tags" help="All products from these suppliers will be included"/>
<field name="category_ids" widget="many2many_tags" help="All products in these categories (including subcategories) will be included"/>
@ -91,9 +90,8 @@
<field name="excluded_category_ids" widget="many2many_tags" help="Categories excluded from this order. Products in these categories and all their subcategories will not be available (blacklist has absolute priority)"/>
<field name="excluded_product_ids" widget="many2many_tags" help="Products explicitly excluded from this order (blacklist has absolute priority over inclusions)"/>
</group>
</group>
<notebook>
<page string="Pickup Slots" name="pickup_slots">
</page>
<page string="Pickup Slots" name="pickup_slots">
<field name="pickup_slot_ids">
<list editable="bottom">
<field name="sequence" widget="handle"/>