[IMP] website_sale_aplicoop: mostrar franjas de recogida en formulario group.order
- Añadir reglas de acceso para group.order.slot en ir.model.access.csv - Añadir pestaña "Pickup Slots" en el formulario de group.order con lista editable (handle de secuencia, día, etiqueta, hora inicio/fin, activo) - Corregir valores del campo weekday: de dígitos numéricos a nombres de día (Monday...Sunday) para mejor usabilidad Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
eb81e7db6a
commit
b14a6f84ed
3 changed files with 25 additions and 1 deletions
|
|
@ -92,6 +92,20 @@
|
|||
<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">
|
||||
<field name="pickup_slot_ids">
|
||||
<list editable="bottom">
|
||||
<field name="sequence" widget="handle"/>
|
||||
<field name="weekday"/>
|
||||
<field name="label" placeholder="e.g. Morning slot"/>
|
||||
<field name="start_hour" widget="float_time"/>
|
||||
<field name="end_hour" widget="float_time"/>
|
||||
<field name="active"/>
|
||||
</list>
|
||||
</field>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue