Skip to content

[FIX] pms_website: remove undefined no_of_guests from property template#429

Open
max3903 wants to merge 1 commit into
OCA:19.0from
ursais:19.0-mig-pms_website
Open

[FIX] pms_website: remove undefined no_of_guests from property template#429
max3903 wants to merge 1 commit into
OCA:19.0from
ursais:19.0-mig-pms_website

Conversation

@max3903

@max3903 max3903 commented Jul 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Remove no_of_guests references from the pms_website.property website template
  • Fixes AttributeError: 'pms.property' object has no attribute 'no_of_guests' when rendering published property pages
  • The guest count field and its template block will be provided later by the pms_sale module

Test plan

  • Install/upgrade pms_website
  • Publish a property on the website
  • Open the public property page and confirm it renders without error
  • Confirm bedrooms/bathrooms/area still display correctly

Made with Cursor

@max3903 max3903 added the bug Something isn't working label Jul 5, 2026
@max3903 max3903 added this to the 19.0 milestone Jul 5, 2026
@max3903 max3903 self-assigned this Jul 5, 2026
@max3903 max3903 force-pushed the 19.0-mig-pms_website branch 10 times, most recently from c4e8426 to a07ba1d Compare July 5, 2026 23:38
@max3903 max3903 force-pushed the 19.0-mig-pms_website branch from a07ba1d to a0e8767 Compare July 5, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working mod:pms_website Module pms_website needs review series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants