odoo-addon-pms 16.0.0.25.0__py3-none-any.whl → 16.0.0.26.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ PMS (Property Management System)
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:acdeee27b0dab0487ec1816ff0ecea93be6022a39cc558b8f40403305f2fe1f3
14
+ !! source digest: sha256:757b022e24b8657bd99b4b21bc5f8688ee638ed18348cc69d627d276c204ecaa
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "name": "PMS (Property Management System)",
6
6
  "summary": "A property management system",
7
- "version": "16.0.0.25.0",
7
+ "version": "16.0.0.26.0",
8
8
  "development_status": "Beta",
9
9
  "category": "Generic Modules/Property Management System",
10
10
  "website": "https://github.com/OCA/pms",
@@ -3170,6 +3170,11 @@ msgstr "Verpflegungszeile, in der dieser Dienst enthalten ist"
3170
3170
  msgid "Board Service Lines"
3171
3171
  msgstr "Verpflegungszeilen"
3172
3172
 
3173
+ #. module: pms
3174
+ #: model:ir.model.fields,field_description:pms.field_pms_reservation__board_service_room_manual
3175
+ msgid "Board Service Manually Set"
3176
+ msgstr ""
3177
+
3173
3178
  #. module: pms
3174
3179
  #: model:ir.model.fields,field_description:pms.field_pms_board_service__name
3175
3180
  #: model:ir.model.fields,help:pms.field_pms_board_service__name
@@ -13655,6 +13660,14 @@ msgstr "Gewicht"
13655
13660
  msgid "Weight unit of measure label"
13656
13661
  msgstr "Etikett für die Maßeinheit Gewicht"
13657
13662
 
13663
+ #. module: pms
13664
+ #: model:ir.model.fields,help:pms.field_pms_reservation__board_service_room_manual
13665
+ msgid ""
13666
+ "When enabled, the reservation will NOT auto-assign a default board service "
13667
+ "even if the field is empty. This is set automatically when the user edits or "
13668
+ "clears the board service."
13669
+ msgstr ""
13670
+
13658
13671
  #. module: pms
13659
13672
  #: model:ir.model.fields,help:pms.field_pms_folio__force_nothing_to_invoice
13660
13673
  msgid ""
@@ -2462,6 +2462,11 @@ msgstr ""
2462
2462
  msgid "Board Service Lines"
2463
2463
  msgstr "Servicios del Régimen"
2464
2464
 
2465
+ #. module: pms
2466
+ #: model:ir.model.fields,field_description:pms.field_pms_reservation__board_service_room_manual
2467
+ msgid "Board Service Manually Set"
2468
+ msgstr ""
2469
+
2465
2470
  #. module: pms
2466
2471
  #: model:ir.model.fields,field_description:pms.field_pms_board_service__name
2467
2472
  #: model:ir.model.fields,help:pms.field_pms_board_service__name
@@ -12761,6 +12766,14 @@ msgstr "Peso"
12761
12766
  msgid "Weight unit of measure label"
12762
12767
  msgstr "Etiqueta de unidad de medida de peso"
12763
12768
 
12769
+ #. module: pms
12770
+ #: model:ir.model.fields,help:pms.field_pms_reservation__board_service_room_manual
12771
+ msgid ""
12772
+ "When enabled, the reservation will NOT auto-assign a default board service "
12773
+ "even if the field is empty. This is set automatically when the user edits or "
12774
+ "clears the board service."
12775
+ msgstr ""
12776
+
12764
12777
  #. module: pms
12765
12778
  #: model:ir.model.fields,help:pms.field_pms_folio__force_nothing_to_invoice
12766
12779
  msgid ""
@@ -3149,6 +3149,11 @@ msgstr "Riga servizio pensione con servizio incluso"
3149
3149
  msgid "Board Service Lines"
3150
3150
  msgstr "Righe servizio pensione"
3151
3151
 
3152
+ #. module: pms
3153
+ #: model:ir.model.fields,field_description:pms.field_pms_reservation__board_service_room_manual
3154
+ msgid "Board Service Manually Set"
3155
+ msgstr ""
3156
+
3152
3157
  #. module: pms
3153
3158
  #: model:ir.model.fields,field_description:pms.field_pms_board_service__name
3154
3159
  #: model:ir.model.fields,help:pms.field_pms_board_service__name
@@ -13351,6 +13356,14 @@ msgstr ""
13351
13356
  msgid "Weight unit of measure label"
13352
13357
  msgstr ""
13353
13358
 
13359
+ #. module: pms
13360
+ #: model:ir.model.fields,help:pms.field_pms_reservation__board_service_room_manual
13361
+ msgid ""
13362
+ "When enabled, the reservation will NOT auto-assign a default board service "
13363
+ "even if the field is empty. This is set automatically when the user edits or "
13364
+ "clears the board service."
13365
+ msgstr ""
13366
+
13354
13367
  #. module: pms
13355
13368
  #: model:ir.model.fields,help:pms.field_pms_folio__force_nothing_to_invoice
13356
13369
  msgid ""
@@ -2570,7 +2570,11 @@ class PmsReservation(models.Model):
2570
2570
  def _compute_tourist_tax_lines(self):
2571
2571
  """Return ORM commands to sync tourist tax services on this reservation."""
2572
2572
  self.ensure_one()
2573
- if self.reservation_type != "normal" or not self.overnight_room:
2573
+ if (
2574
+ self.reservation_type != "normal"
2575
+ or not self.overnight_room
2576
+ or self.state in ("draft", "cancel", "done")
2577
+ ):
2574
2578
  return False
2575
2579
  tax_products = self._get_tourist_tax_products(
2576
2580
  pms_property_id=self.pms_property_id.id
@@ -2642,12 +2646,20 @@ class PmsReservation(models.Model):
2642
2646
  )
2643
2647
 
2644
2648
  def _get_applicable_guest_count(self, product):
2645
- return len(
2649
+ count = len(
2646
2650
  self._get_guests_by_age(
2647
2651
  product.tourist_tax_min_age,
2648
2652
  product.tourist_tax_max_age,
2649
2653
  )
2650
2654
  )
2655
+ # If not hosts found, consider all guests (if not min_age or max_age is set)
2656
+ # or only adults min_age
2657
+ if count == 0:
2658
+ if not product.tourist_tax_min_age:
2659
+ count = self.adults + self.children
2660
+ else:
2661
+ count = self.adults
2662
+ return count
2651
2663
 
2652
2664
  def _get_product_price(self, product, quantity, night_date):
2653
2665
  product = product.with_context(
@@ -372,7 +372,7 @@ ul.auto-toc {
372
372
  !! This file is generated by oca-gen-addon-readme !!
373
373
  !! changes will be overwritten. !!
374
374
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
- !! source digest: sha256:acdeee27b0dab0487ec1816ff0ecea93be6022a39cc558b8f40403305f2fe1f3
375
+ !! source digest: sha256:757b022e24b8657bd99b4b21bc5f8688ee638ed18348cc69d627d276c204ecaa
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
377
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/pms/tree/16.0/pms"><img alt="OCA/pms" src="https://img.shields.io/badge/github-OCA%2Fpms-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/pms-16-0/pms-16-0-pms"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/pms&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
378
  <p>This module is an all-in-one property management system (PMS) focused on medium-sized properties
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-pms
3
- Version: 16.0.0.25.0
3
+ Version: 16.0.0.26.0
4
4
  Summary: A property management system
5
5
  Home-page: https://github.com/OCA/pms
6
6
  Author: Commit [Sun], Odoo Community Association (OCA)
@@ -36,7 +36,7 @@ PMS (Property Management System)
36
36
  !! This file is generated by oca-gen-addon-readme !!
37
37
  !! changes will be overwritten. !!
38
38
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
39
- !! source digest: sha256:acdeee27b0dab0487ec1816ff0ecea93be6022a39cc558b8f40403305f2fe1f3
39
+ !! source digest: sha256:757b022e24b8657bd99b4b21bc5f8688ee638ed18348cc69d627d276c204ecaa
40
40
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
41
41
 
42
42
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,6 +1,6 @@
1
- odoo/addons/pms/README.rst,sha256=PTosCde5wVynD80HzgCUl22VXC2CulddnVNYihwRPaY,3898
1
+ odoo/addons/pms/README.rst,sha256=L1mD4pLIoBWd8JDeSrJdc4v8nfo38DDfWCTkLpu1jqo,3898
2
2
  odoo/addons/pms/__init__.py,sha256=uCUbRxtCubFHrz65XPTEmSu2XU6tpojVZ8MYot9bPMg,171
3
- odoo/addons/pms/__manifest__.py,sha256=_OOKh9wNYO7ioRDmcWvoixZbJiq-mWLjZn5n2nfMhec,4849
3
+ odoo/addons/pms/__manifest__.py,sha256=Q37Mh443BTYuXGZbwL_T4Sle-iOo3CbusTrd-ei3DZw,4849
4
4
  odoo/addons/pms/init_hook.py,sha256=2QMZH2wbC7SJxHUM1SQMqjdQqLITbt3w8vK5noEjIjw,518
5
5
  odoo/addons/pms/controllers/__init__.py,sha256=ac3kwg8QNSm7JicAACF5d8vPmqDydqO8gEiPh7SIeks,25
6
6
  odoo/addons/pms/controllers/pms_portal.py,sha256=Xkxi-vY16mSNQRhXokbLFaehb8Ni5qew_J7pDKEg-Gc,18528
@@ -21,9 +21,9 @@ odoo/addons/pms/demo/pms_folio.xml,sha256=IBTC503x2E80Z0DqhoMG6HyFy0JtbeoTplA1Hy
21
21
  odoo/addons/pms/demo/pms_master_data.xml,sha256=rDgCymoZVCRJkZq40WdGs5NWg6Hd5coiJDidppDHpKA,14532
22
22
  odoo/addons/pms/demo/pms_master_data_no_update.xml,sha256=nwjahlgP5HhiWQKmqHITO_ZdMkqL-7k2FJtTtSzbidc,234160
23
23
  odoo/addons/pms/demo/pms_reservation.xml,sha256=R35eu4ADsBuWjopoJv1_fg_b4g8NzNYdU9t7vvCQhBA,80237
24
- odoo/addons/pms/i18n/de.po,sha256=v65uGBMHmEbffzOXhlLpPDsPRox95I-nQS_UgHHQSXM,552548
25
- odoo/addons/pms/i18n/es.po,sha256=eAnTynaa7ZPMCUAqwZicNh5lGWo8hnLxG2v-53DsnQ4,589092
26
- odoo/addons/pms/i18n/it.po,sha256=QkZuIWrKW5sbbAPvNNlQwTSISFk8uaCsS8B6KoXC1k4,513513
24
+ odoo/addons/pms/i18n/de.po,sha256=QR2_LvIGiLn9zPK_1eJJ1C1RAA9cQGvYI5Sm0P05wGM,553009
25
+ odoo/addons/pms/i18n/es.po,sha256=z_uRX8EcaObbqgJDMxLox8fLic3Y7pMrAYYa5hB7XOc,589553
26
+ odoo/addons/pms/i18n/it.po,sha256=RZvf7WcugyzZEWOnfVTifny83NgYlWwEpsQE74clfEY,513974
27
27
  odoo/addons/pms/i18n/pms.pot,sha256=0OOpOxXUW60lGwwn0ML53VbG3GorkmmLHJ-9Ku-d6Z0,433790
28
28
  odoo/addons/pms/migrations/16.0.0.1.0/pre-migration.py,sha256=9vggjeCFTw8IGpvRlB15ltRogJpI3lHazERyb_wxYOY,2236
29
29
  odoo/addons/pms/migrations/16.0.0.2.0/post-migration.py,sha256=AFl41LcMw2-drTltLY6L4pV2GStl5hcx0kKTYYwQ8oU,2049
@@ -57,7 +57,7 @@ odoo/addons/pms/models/pms_cancelation_rule.py,sha256=G6IoM_h4XYJUqx8SlgFB7lPmwy
57
57
  odoo/addons/pms/models/pms_checkin_partner.py,sha256=1lF0hkwwtjQMQdEi4PKfB6f_FHt1MQ9mqw7e1qh9C38,39521
58
58
  odoo/addons/pms/models/pms_folio.py,sha256=LIROpXxnBZmp6sI-n761Z5Et_E5txl4Bw-HrimpGHbM,108019
59
59
  odoo/addons/pms/models/pms_property.py,sha256=v42QM9A9xULsSd770pRRUrLgPBwg46U4mtlO6kyBQeI,45832
60
- odoo/addons/pms/models/pms_reservation.py,sha256=GmpCjdo8_Gl-SI-xCi0GTGrAIyRLUbs5M8XpC4pLnCU,107460
60
+ odoo/addons/pms/models/pms_reservation.py,sha256=kcQwI27o2HuDzYbJW52TnT7oXIxtXtq5825L4YMUSOM,107870
61
61
  odoo/addons/pms/models/pms_reservation_line.py,sha256=HIVtAHiDT4GU9c1A9r2xuuCViqDZen1qJAIQBSR0ukE,27669
62
62
  odoo/addons/pms/models/pms_room.py,sha256=QsTK1yaG9VfLZHDKPXzJ5HpljqD0brBnNi17zt_v7pc,12081
63
63
  odoo/addons/pms/models/pms_room_closure_reason.py,sha256=juZVeR1DgrpNfJEcRsDh5KSvoqM58bFGuyumeTqJWRw,903
@@ -94,7 +94,7 @@ odoo/addons/pms/security/ir.model.access.csv,sha256=yLqMoKZR8eAuUWOm9Fys0JCeCZlo
94
94
  odoo/addons/pms/security/pms_security.xml,sha256=ojrBeQtkn1D7EPnaVLRf4hT60JB4K2ma00hr9vv-LTo,13646
95
95
  odoo/addons/pms/static/description/avatar.png,sha256=CWIs64cZDPrrZVmRCyV_cD_h03lWUoQikvCllgrsELY,4370
96
96
  odoo/addons/pms/static/description/icon.png,sha256=_y1zF9kLND2nIpLMurvkkyiMfUq53JN26oN7_h-PfH0,24626
97
- odoo/addons/pms/static/description/index.html,sha256=wTolKdOCiSptRUik9k1FIqSHI7lS6Cxe31bVpSWfMeI,14070
97
+ odoo/addons/pms/static/description/index.html,sha256=Zy3Epdk5urMIugZbh_1jHHmpdvVlj2TO-o7tTxyfqHs,14070
98
98
  odoo/addons/pms/static/img/icon-door.svg,sha256=Vt62k1RKXIt7zha9_uZJKPrlgdEUto9d2q_IEbxRigI,1514
99
99
  odoo/addons/pms/static/img/icon-mail.svg,sha256=H0NQ5fACCKoJ7KLfPQvaHMwhD2qNk6-T7FEkoW9r0Vo,950
100
100
  odoo/addons/pms/static/img/icon-phone.svg,sha256=T03z7if6caEBtf_F_3HnRi6AgNeZxbgCGWeGzMMjZlw,1340
@@ -196,7 +196,7 @@ odoo/addons/pms/wizards/wizard_several_partners.py,sha256=nOYHInUyT7bV4opyk03_i-
196
196
  odoo/addons/pms/wizards/wizard_several_partners.xml,sha256=tuSIYJiqN_EprlwI7cBrteMPblHoybcHBDrHO1di0DY,1382
197
197
  odoo/addons/pms/wizards/wizard_split_join_swap_reservation.py,sha256=D0AFrimn4lViWSnQ0sgM1msVniUudbgqvS0hRIBkXfQ,13751
198
198
  odoo/addons/pms/wizards/wizard_split_join_swap_reservation.xml,sha256=MDyXIdQfumI7WnXqO5E4fCqM4BW32CIwS97tF66gBy8,5940
199
- odoo_addon_pms-16.0.0.25.0.dist-info/METADATA,sha256=2oZfkV2EwcMd5AUDVl89BU0Gxnf5sXXupKeZUYxRA3I,5023
200
- odoo_addon_pms-16.0.0.25.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
201
- odoo_addon_pms-16.0.0.25.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
202
- odoo_addon_pms-16.0.0.25.0.dist-info/RECORD,,
199
+ odoo_addon_pms-16.0.0.26.0.dist-info/METADATA,sha256=edP1ai7eafWC1HwAJvRWUduw5jfhALFqO-CbC6sAcY8,5023
200
+ odoo_addon_pms-16.0.0.26.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
201
+ odoo_addon_pms-16.0.0.26.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
202
+ odoo_addon_pms-16.0.0.26.0.dist-info/RECORD,,