Skip to content

[19.0][MIG] website_appointment_booking: Migration to 19.0 - #10

Open
dnplkndll wants to merge 2 commits into
19.0-mig-resource_bookingfrom
19.0-add-website_appointment_booking
Open

[19.0][MIG] website_appointment_booking: Migration to 19.0#10
dnplkndll wants to merge 2 commits into
19.0-mig-resource_bookingfrom
19.0-add-website_appointment_booking

Conversation

@dnplkndll

Copy link
Copy Markdown

Port of website_appointment_booking from 18.0 to 19.0.

Depends on OCA#217 (resource_booking). This PR is branched off that PR's head (fork branch 19.0-mig-resource_booking), so the diff shows only the new module.

Non-mechanical adaptations worth flagging

  • _sql_constraintsmodels.Constraint class attribute (website_slug_unique).
  • Frontend stays on the publicWidget legacy API (not OWL components), so the 19.0 OWL record.data m2o-object change does not apply; slot data is read from DOM data-* attributes. data-in-month is rendered as the string '1'/'0', so no boolean-t-att coercion was needed.

- _sql_constraints → models.Constraint class attribute (website_slug_unique).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant