odoo-addon-pms 16.0.0.15.0.10__py3-none-any.whl → 16.0.0.24.0.1__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:1932d20cb515244c940884a7573b46a3b589228ee1ebb94ad7f300612769a869
14
+ !! source digest: sha256:88334a9c85056b26b4f5f89e9ce6f476579984c113c68111c6d106f7c2ce2903
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.15.0",
7
+ "version": "16.0.0.24.0",
8
8
  "development_status": "Beta",
9
9
  "category": "Generic Modules/Property Management System",
10
10
  "website": "https://github.com/OCA/pms",
@@ -5895,6 +5895,11 @@ msgstr "Vollst. fakturiert"
5895
5895
  msgid "Future"
5896
5896
  msgstr "Zukunft"
5897
5897
 
5898
+ #. module: pms
5899
+ #: model:ir.model.fields,field_description:pms.field_pms_property__global_location_number
5900
+ msgid "GLN"
5901
+ msgstr ""
5902
+
5898
5903
  #. module: pms
5899
5904
  #: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__gender
5900
5905
  #: model:ir.model.fields,field_description:pms.field_pms_property__gender
@@ -5966,6 +5971,11 @@ msgid "Gives the different ways to package the same product."
5966
5971
  msgstr ""
5967
5972
  "Zeigt die verschiedenen Möglichkeiten, das gleiche Produkt zu verpacken."
5968
5973
 
5974
+ #. module: pms
5975
+ #: model:ir.model.fields,help:pms.field_pms_property__global_location_number
5976
+ msgid "Global Location Number"
5977
+ msgstr ""
5978
+
5969
5979
  #. module: pms
5970
5980
  #: model:pms.ubication,name:pms.pms_ubication_ground_floor
5971
5981
  msgid "Ground floor"
@@ -7199,11 +7209,6 @@ msgstr "Buchungszeile"
7199
7209
  msgid "Journal Items"
7200
7210
  msgstr "Journal Einträge"
7201
7211
 
7202
- #. module: pms
7203
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_journal_id
7204
- msgid "Journal used to create self billing"
7205
- msgstr "Journal zur Erstellung von Gutschriften"
7206
-
7207
7212
  #. module: pms
7208
7213
  #: model:ir.model.fields,help:pms.field_pms_property__journal_normal_invoice_id
7209
7214
  msgid "Journal used to create the normal invoice"
@@ -8082,6 +8087,7 @@ msgstr "Nachtnummer, ab der die Regel nicht mehr gilt (optional)"
8082
8087
  #: model:ir.model.fields,field_description:pms.field_folio_sale_line__reservation_line_ids
8083
8088
  #: model:ir.model.fields,field_description:pms.field_pms_reservation__nights
8084
8089
  #: model:ir.model.fields,field_description:pms.field_wizard_folio_changes__nights
8090
+ #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
8085
8091
  msgid "Nights"
8086
8092
  msgstr "Nächte"
8087
8093
 
@@ -11065,16 +11071,6 @@ msgstr ""
11065
11071
  msgid "Self"
11066
11072
  msgstr "Selbst"
11067
11073
 
11068
- #. module: pms
11069
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_journal_id
11070
- msgid "Self billed journal"
11071
- msgstr "Selbstfakturiertes Journal"
11072
-
11073
- #. module: pms
11074
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_tax_ids
11075
- msgid "Self billed taxes"
11076
- msgstr "Selbst berechnete Steuern"
11077
-
11078
11074
  #. module: pms
11079
11075
  #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
11080
11076
  msgid "Send Cancellation Email"
@@ -11859,11 +11855,6 @@ msgstr "Steuern in der Dienstleistungszeile"
11859
11855
  msgid "Taxes used for deposits"
11860
11856
  msgstr "Steuer für Anzahlungen"
11861
11857
 
11862
- #. module: pms
11863
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_tax_ids
11864
- msgid "Taxes used to create self billing"
11865
- msgstr "Steuern zur Erstellung von Gutschriften"
11866
-
11867
11858
  #. module: pms
11868
11859
  #: model:ir.model.fields,field_description:pms.field_pms_property__user_id
11869
11860
  #: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
@@ -13115,20 +13106,6 @@ msgstr "Gesamtbetrag"
13115
13106
  msgid "Total amount"
13116
13107
  msgstr "Gesamtbetrag"
13117
13108
 
13118
- #. module: pms
13119
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
13120
- msgid ""
13121
- "Total amount\n"
13122
- " (Reservation Card):"
13123
- msgstr ""
13124
- "Gesamtbetrag\n"
13125
- " (Reservierungskarte):"
13126
-
13127
- #. module: pms
13128
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
13129
- msgid "Total amount (Reservation Card):"
13130
- msgstr "Gesamtbetrag (Reservierungskarte):"
13131
-
13132
13109
  #. module: pms
13133
13110
  #: model:ir.model.fields,help:pms.field_pms_property__credit
13134
13111
  msgid "Total amount this customer owes you."
@@ -14064,6 +14041,28 @@ msgstr ""
14064
14041
  msgid "{room_name}: No room available in {checkin} <-> {checkout}."
14065
14042
  msgstr "{room_name}: Kein Zimmer verfügbar in {checkin} <-> {checkout}."
14066
14043
 
14044
+ #~ msgid "Journal used to create self billing"
14045
+ #~ msgstr "Journal zur Erstellung von Gutschriften"
14046
+
14047
+ #~ msgid "Self billed journal"
14048
+ #~ msgstr "Selbstfakturiertes Journal"
14049
+
14050
+ #~ msgid "Self billed taxes"
14051
+ #~ msgstr "Selbst berechnete Steuern"
14052
+
14053
+ #~ msgid "Taxes used to create self billing"
14054
+ #~ msgstr "Steuern zur Erstellung von Gutschriften"
14055
+
14056
+ #~ msgid ""
14057
+ #~ "Total amount\n"
14058
+ #~ " (Reservation Card):"
14059
+ #~ msgstr ""
14060
+ #~ "Gesamtbetrag\n"
14061
+ #~ " (Reservierungskarte):"
14062
+
14063
+ #~ msgid "Total amount (Reservation Card):"
14064
+ #~ msgstr "Gesamtbetrag (Reservierungskarte):"
14065
+
14067
14066
  #, python-format
14068
14067
  #~ msgid ""
14069
14068
  #~ "The room %(room)s (type: %(room_type)s) is not\n"
@@ -5142,6 +5142,11 @@ msgstr "Totalmente Facturada"
5142
5142
  msgid "Future"
5143
5143
  msgstr "Futuro"
5144
5144
 
5145
+ #. module: pms
5146
+ #: model:ir.model.fields,field_description:pms.field_pms_property__global_location_number
5147
+ msgid "GLN"
5148
+ msgstr ""
5149
+
5145
5150
  #. module: pms
5146
5151
  #: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__gender
5147
5152
  #: model:ir.model.fields,field_description:pms.field_pms_property__gender
@@ -5212,6 +5217,11 @@ msgstr "Obtener el precio con descuento aplicado"
5212
5217
  msgid "Gives the different ways to package the same product."
5213
5218
  msgstr "Ofrece diferentes formas de empaquetar el mismo producto."
5214
5219
 
5220
+ #. module: pms
5221
+ #: model:ir.model.fields,help:pms.field_pms_property__global_location_number
5222
+ msgid "Global Location Number"
5223
+ msgstr ""
5224
+
5215
5225
  #. module: pms
5216
5226
  #: model:pms.ubication,name:pms.pms_ubication_ground_floor
5217
5227
  msgid "Ground floor"
@@ -6425,11 +6435,6 @@ msgstr "Apunte contable"
6425
6435
  msgid "Journal Items"
6426
6436
  msgstr "Artículos Diarios"
6427
6437
 
6428
- #. module: pms
6429
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_journal_id
6430
- msgid "Journal used to create self billing"
6431
- msgstr ""
6432
-
6433
6438
  #. module: pms
6434
6439
  #: model:ir.model.fields,help:pms.field_pms_property__journal_normal_invoice_id
6435
6440
  msgid "Journal used to create the normal invoice"
@@ -7299,6 +7304,7 @@ msgstr ""
7299
7304
  #: model:ir.model.fields,field_description:pms.field_folio_sale_line__reservation_line_ids
7300
7305
  #: model:ir.model.fields,field_description:pms.field_pms_reservation__nights
7301
7306
  #: model:ir.model.fields,field_description:pms.field_wizard_folio_changes__nights
7307
+ #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
7302
7308
  msgid "Nights"
7303
7309
  msgstr "Noches"
7304
7310
 
@@ -10243,16 +10249,6 @@ msgstr ""
10243
10249
  msgid "Self"
10244
10250
  msgstr "Si mismo"
10245
10251
 
10246
- #. module: pms
10247
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_journal_id
10248
- msgid "Self billed journal"
10249
- msgstr ""
10250
-
10251
- #. module: pms
10252
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_tax_ids
10253
- msgid "Self billed taxes"
10254
- msgstr ""
10255
-
10256
10252
  #. module: pms
10257
10253
  #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
10258
10254
  msgid "Send Cancellation Email"
@@ -11027,11 +11023,6 @@ msgstr "Impuestos aplicados en la línea de servicio"
11027
11023
  msgid "Taxes used for deposits"
11028
11024
  msgstr "Tasas utilizadas para depósitos"
11029
11025
 
11030
- #. module: pms
11031
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_tax_ids
11032
- msgid "Taxes used to create self billing"
11033
- msgstr ""
11034
-
11035
11026
  #. module: pms
11036
11027
  #: model:ir.model.fields,field_description:pms.field_pms_property__user_id
11037
11028
  #: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
@@ -12230,18 +12221,6 @@ msgstr ""
12230
12221
  msgid "Total amount"
12231
12222
  msgstr "Importe total"
12232
12223
 
12233
- #. module: pms
12234
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
12235
- msgid ""
12236
- "Total amount\n"
12237
- " (Reservation Card):"
12238
- msgstr ""
12239
-
12240
- #. module: pms
12241
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
12242
- msgid "Total amount (Reservation Card):"
12243
- msgstr "Importe total (Tarjeta de Reserva):"
12244
-
12245
12224
  #. module: pms
12246
12225
  #: model:ir.model.fields,help:pms.field_pms_property__credit
12247
12226
  msgid "Total amount this customer owes you."
@@ -13157,6 +13136,9 @@ msgstr ""
13157
13136
  msgid "{room_name}: No room available in {checkin} <-> {checkout}."
13158
13137
  msgstr ""
13159
13138
 
13139
+ #~ msgid "Total amount (Reservation Card):"
13140
+ #~ msgstr "Importe total (Tarjeta de Reserva):"
13141
+
13160
13142
  #, python-format
13161
13143
  #~ msgid "Room {} not available."
13162
13144
  #~ msgstr "Habitación {} no disponible."
@@ -5384,8 +5384,8 @@ msgid ""
5384
5384
  "Field that stores the number of checkin partners pending to checkin (with "
5385
5385
  "the state = draft)"
5386
5386
  msgstr ""
5387
- "Campo che archivia il numero dei partner del check-in in attesa di check-in ("
5388
- "con stato = bozza)"
5387
+ "Campo che archivia il numero dei partner del check-in in attesa di check-in "
5388
+ "(con stato = bozza)"
5389
5389
 
5390
5390
  #. module: pms
5391
5391
  #: model:ir.model.fields,help:pms.field_pms_reservation__avoid_mails
@@ -5871,6 +5871,11 @@ msgstr "Completamente fatturato"
5871
5871
  msgid "Future"
5872
5872
  msgstr "Futuro"
5873
5873
 
5874
+ #. module: pms
5875
+ #: model:ir.model.fields,field_description:pms.field_pms_property__global_location_number
5876
+ msgid "GLN"
5877
+ msgstr ""
5878
+
5874
5879
  #. module: pms
5875
5880
  #: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__gender
5876
5881
  #: model:ir.model.fields,field_description:pms.field_pms_property__gender
@@ -5941,6 +5946,11 @@ msgstr "Ottieni il prezzo con lo sconto applicato"
5941
5946
  msgid "Gives the different ways to package the same product."
5942
5947
  msgstr "Consente di imballare diversamente lo stesso prodotto."
5943
5948
 
5949
+ #. module: pms
5950
+ #: model:ir.model.fields,help:pms.field_pms_property__global_location_number
5951
+ msgid "Global Location Number"
5952
+ msgstr ""
5953
+
5944
5954
  #. module: pms
5945
5955
  #: model:pms.ubication,name:pms.pms_ubication_ground_floor
5946
5956
  msgid "Ground floor"
@@ -6043,8 +6053,8 @@ msgid ""
6043
6053
  "Hi ${object.firstname}, do your check-in now in ${object.pms_property_id."
6044
6054
  "name}"
6045
6055
  msgstr ""
6046
- "Salve ${object.firstname}, esegui il check-in adesso in "
6047
- "${object.pms_property_id.name}"
6056
+ "Salve ${object.firstname}, esegui il check-in adesso in ${object."
6057
+ "pms_property_id.name}"
6048
6058
 
6049
6059
  #. module: pms
6050
6060
  #: model_terms:ir.ui.view,arch_db:pms.pms_checkin_partner_view_search
@@ -6334,8 +6344,8 @@ msgid ""
6334
6344
  msgstr ""
6335
6345
  "Nei prezzi standard & costi medi: valore del prodotto (calcolato "
6336
6346
  "automaticamente nei costi medi).\n"
6337
- " In FIFO: valore dell'unità successiva che lascerà il magazzino ("
6338
- "calcolato automaticamente).\n"
6347
+ " In FIFO: valore dell'unità successiva che lascerà il magazzino "
6348
+ "(calcolato automaticamente).\n"
6339
6349
  " Utilizzato per valutare il prodotto quando il costo di acquisto non "
6340
6350
  "è noto (es. rettifiche di inventario).\n"
6341
6351
  " Utilizzato per calcolare i margini negli ordini di vendita."
@@ -7157,11 +7167,6 @@ msgstr "Movimento contabile"
7157
7167
  msgid "Journal Items"
7158
7168
  msgstr "Movimenti contabili"
7159
7169
 
7160
- #. module: pms
7161
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_journal_id
7162
- msgid "Journal used to create self billing"
7163
- msgstr "Registro utilizzato per creare l'autofattura"
7164
-
7165
7170
  #. module: pms
7166
7171
  #: model:ir.model.fields,help:pms.field_pms_property__journal_normal_invoice_id
7167
7172
  msgid "Journal used to create the normal invoice"
@@ -7671,7 +7676,8 @@ msgstr ""
7671
7676
  #. module: pms
7672
7677
  #: model:ir.model.fields,help:pms.field_pms_massive_changes_wizard__max_avail
7673
7678
  msgid "Maximum simultaneous availability on own Booking Engine."
7674
- msgstr "Disponibilità contemporanea massima nel proprio motore di prenotazione."
7679
+ msgstr ""
7680
+ "Disponibilità contemporanea massima nel proprio motore di prenotazione."
7675
7681
 
7676
7682
  #. module: pms
7677
7683
  #: model:ir.model.fields,help:pms.field_pms_availability_plan_rule__max_stay
@@ -8037,6 +8043,7 @@ msgstr "Numero della notte dalla quale la regola non si applica (opzionale)"
8037
8043
  #: model:ir.model.fields,field_description:pms.field_folio_sale_line__reservation_line_ids
8038
8044
  #: model:ir.model.fields,field_description:pms.field_pms_reservation__nights
8039
8045
  #: model:ir.model.fields,field_description:pms.field_wizard_folio_changes__nights
8046
+ #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
8040
8047
  msgid "Nights"
8041
8048
  msgstr "Notti"
8042
8049
 
@@ -8219,7 +8226,8 @@ msgstr "Numero di partner al check-in in una prenotazione"
8219
8226
  #. module: pms
8220
8227
  #: model:ir.model.fields,help:pms.field_pms_reservation__checkin_partner_pending_count
8221
8228
  msgid "Number of checkin partners pending to checkin in a reservation"
8222
- msgstr "Numero di partner al check-in in attesa di check-in in una prenotazione"
8229
+ msgstr ""
8230
+ "Numero di partner al check-in in attesa di check-in in una prenotazione"
8223
8231
 
8224
8232
  #. module: pms
8225
8233
  #: model:ir.model.fields,help:pms.field_pms_reservation__children_occupying
@@ -8473,9 +8481,9 @@ msgid ""
8473
8481
  "Optional Products are suggested whenever the customer hits *Add to Cart* "
8474
8482
  "(cross-sell strategy, e.g. for computers: warranty, software, etc.)."
8475
8483
  msgstr ""
8476
- "I prodotti opzionali sono suggeriti quando il cliente fa clic su "
8477
- "\"Aggiungi al carrello\" (strategia cross-selling, es. per computer: "
8478
- "garanzia, programmi, ecc.)."
8484
+ "I prodotti opzionali sono suggeriti quando il cliente fa clic su \"Aggiungi "
8485
+ "al carrello\" (strategia cross-selling, es. per computer: garanzia, "
8486
+ "programmi, ecc.)."
8479
8487
 
8480
8488
  #. module: pms
8481
8489
  #: model_terms:ir.ui.view,arch_db:pms.report_folio_document
@@ -10959,16 +10967,6 @@ msgstr ""
10959
10967
  msgid "Self"
10960
10968
  msgstr ""
10961
10969
 
10962
- #. module: pms
10963
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_journal_id
10964
- msgid "Self billed journal"
10965
- msgstr ""
10966
-
10967
- #. module: pms
10968
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_tax_ids
10969
- msgid "Self billed taxes"
10970
- msgstr ""
10971
-
10972
10970
  #. module: pms
10973
10971
  #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
10974
10972
  msgid "Send Cancellation Email"
@@ -11728,11 +11726,6 @@ msgstr ""
11728
11726
  msgid "Taxes used for deposits"
11729
11727
  msgstr ""
11730
11728
 
11731
- #. module: pms
11732
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_tax_ids
11733
- msgid "Taxes used to create self billing"
11734
- msgstr ""
11735
-
11736
11729
  #. module: pms
11737
11730
  #: model:ir.model.fields,field_description:pms.field_pms_property__user_id
11738
11731
  #: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
@@ -12825,18 +12818,6 @@ msgstr ""
12825
12818
  msgid "Total amount"
12826
12819
  msgstr ""
12827
12820
 
12828
- #. module: pms
12829
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
12830
- msgid ""
12831
- "Total amount\n"
12832
- " (Reservation Card):"
12833
- msgstr ""
12834
-
12835
- #. module: pms
12836
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
12837
- msgid "Total amount (Reservation Card):"
12838
- msgstr ""
12839
-
12840
12821
  #. module: pms
12841
12822
  #: model:ir.model.fields,help:pms.field_pms_property__credit
12842
12823
  msgid "Total amount this customer owes you."
@@ -13704,6 +13685,9 @@ msgstr ""
13704
13685
  msgid "{room_name}: No room available in {checkin} <-> {checkout}."
13705
13686
  msgstr ""
13706
13687
 
13688
+ #~ msgid "Journal used to create self billing"
13689
+ #~ msgstr "Registro utilizzato per creare l'autofattura"
13690
+
13707
13691
  #, python-format
13708
13692
  #~ msgid "%(room_name)s: No room available in %(checkin)s <-> %(checkout)s."
13709
13693
  #~ msgstr ""
@@ -4750,6 +4750,11 @@ msgstr ""
4750
4750
  msgid "Future"
4751
4751
  msgstr ""
4752
4752
 
4753
+ #. module: pms
4754
+ #: model:ir.model.fields,field_description:pms.field_pms_property__global_location_number
4755
+ msgid "GLN"
4756
+ msgstr ""
4757
+
4753
4758
  #. module: pms
4754
4759
  #: model:ir.model.fields,field_description:pms.field_pms_checkin_partner__gender
4755
4760
  #: model:ir.model.fields,field_description:pms.field_pms_property__gender
@@ -4820,6 +4825,11 @@ msgstr ""
4820
4825
  msgid "Gives the different ways to package the same product."
4821
4826
  msgstr ""
4822
4827
 
4828
+ #. module: pms
4829
+ #: model:ir.model.fields,help:pms.field_pms_property__global_location_number
4830
+ msgid "Global Location Number"
4831
+ msgstr ""
4832
+
4823
4833
  #. module: pms
4824
4834
  #: model:pms.ubication,name:pms.pms_ubication_ground_floor
4825
4835
  msgid "Ground floor"
@@ -5976,11 +5986,6 @@ msgstr ""
5976
5986
  msgid "Journal Items"
5977
5987
  msgstr ""
5978
5988
 
5979
- #. module: pms
5980
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_journal_id
5981
- msgid "Journal used to create self billing"
5982
- msgstr ""
5983
-
5984
5989
  #. module: pms
5985
5990
  #: model:ir.model.fields,help:pms.field_pms_property__journal_normal_invoice_id
5986
5991
  msgid "Journal used to create the normal invoice"
@@ -6823,6 +6828,7 @@ msgstr ""
6823
6828
  #: model:ir.model.fields,field_description:pms.field_folio_sale_line__reservation_line_ids
6824
6829
  #: model:ir.model.fields,field_description:pms.field_pms_reservation__nights
6825
6830
  #: model:ir.model.fields,field_description:pms.field_wizard_folio_changes__nights
6831
+ #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
6826
6832
  msgid "Nights"
6827
6833
  msgstr ""
6828
6834
 
@@ -9728,16 +9734,6 @@ msgstr ""
9728
9734
  msgid "Self"
9729
9735
  msgstr ""
9730
9736
 
9731
- #. module: pms
9732
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_journal_id
9733
- msgid "Self billed journal"
9734
- msgstr ""
9735
-
9736
- #. module: pms
9737
- #: model:ir.model.fields,field_description:pms.field_res_company__self_billed_tax_ids
9738
- msgid "Self billed taxes"
9739
- msgstr ""
9740
-
9741
9737
  #. module: pms
9742
9738
  #: model_terms:ir.ui.view,arch_db:pms.pms_reservation_view_form
9743
9739
  msgid "Send Cancellation Email"
@@ -10494,11 +10490,6 @@ msgstr ""
10494
10490
  msgid "Taxes used for deposits"
10495
10491
  msgstr ""
10496
10492
 
10497
- #. module: pms
10498
- #: model:ir.model.fields,help:pms.field_res_company__self_billed_tax_ids
10499
- msgid "Taxes used to create self billing"
10500
- msgstr ""
10501
-
10502
10493
  #. module: pms
10503
10494
  #: model:ir.model.fields,field_description:pms.field_pms_property__user_id
10504
10495
  #: model_terms:ir.ui.view,arch_db:pms.pms_property_views_form
@@ -11585,18 +11576,6 @@ msgstr ""
11585
11576
  msgid "Total amount"
11586
11577
  msgstr ""
11587
11578
 
11588
- #. module: pms
11589
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
11590
- msgid ""
11591
- "Total amount\n"
11592
- " (Reservation Card):"
11593
- msgstr ""
11594
-
11595
- #. module: pms
11596
- #: model_terms:ir.ui.view,arch_db:pms.traveller_report
11597
- msgid "Total amount (Reservation Card):"
11598
- msgstr ""
11599
-
11600
11579
  #. module: pms
11601
11580
  #: model:ir.model.fields,help:pms.field_pms_property__credit
11602
11581
  msgid "Total amount this customer owes you."
@@ -130,7 +130,7 @@ class AccountMove(models.Model):
130
130
 
131
131
  pay_term_lines = move.line_ids.filtered(
132
132
  lambda line: line.account_id.account_type
133
- in ("asset_receivable", "payable")
133
+ in ("asset_receivable", "liability_payable")
134
134
  )
135
135
 
136
136
  payments_widget_vals = {
@@ -85,6 +85,8 @@ class PmsBoardServiceRoomType(models.Model):
85
85
  @api.constrains("by_default")
86
86
  def constrains_duplicated_board_default(self):
87
87
  for record in self:
88
+ if not record.by_default:
89
+ continue
88
90
  default_boards = (
89
91
  record.pms_room_type_id.board_service_room_type_ids.filtered(
90
92
  "by_default"
@@ -139,7 +139,7 @@ class PmsFolio(models.Model):
139
139
  check_pms_properties=True,
140
140
  compute="_compute_pricelist_id",
141
141
  )
142
- commission = fields.Float(
142
+ commission = fields.Monetary(
143
143
  readonly=True,
144
144
  store=True,
145
145
  compute="_compute_commission",
@@ -325,6 +325,10 @@ class PmsFolio(models.Model):
325
325
  # )
326
326
  fiscal_position_id = fields.Many2one(
327
327
  string="Fiscal Position",
328
+ compute="_compute_fiscal_position_id",
329
+ store=True,
330
+ readonly=False,
331
+ domain="[('company_id', '=', company_id)]",
328
332
  help="The fiscal position depends on the location of the client",
329
333
  comodel_name="account.fiscal.position",
330
334
  index=True,
@@ -566,6 +570,28 @@ class PmsFolio(models.Model):
566
570
  readonly=False,
567
571
  )
568
572
 
573
+ @api.depends("pms_property_id", "partner_id", "company_id")
574
+ def _compute_fiscal_position_id(self):
575
+ cache = {}
576
+ for folio in self:
577
+ if not folio.partner_id:
578
+ folio.fiscal_position_id = False
579
+ continue
580
+ key = (
581
+ folio.company_id.id,
582
+ folio.partner_id.id,
583
+ folio.pms_property_id.partner_id.id,
584
+ )
585
+ if key not in cache:
586
+ cache[key] = (
587
+ self.env["account.fiscal.position"]
588
+ .with_company(folio.company_id)
589
+ ._get_fiscal_position(
590
+ folio.partner_id, folio.pms_property_id.partner_id
591
+ )
592
+ )
593
+ folio.fiscal_position_id = cache[key]
594
+
569
595
  @api.model
570
596
  def _get_lang_selection_options(self):
571
597
  """Gets the available languages for the selection."""
@@ -1481,6 +1507,9 @@ class PmsFolio(models.Model):
1481
1507
  records = super().create(vals_list)
1482
1508
  for record in records:
1483
1509
  record.access_token = record._portal_ensure_token()
1510
+ if record.partner_id:
1511
+ partners = record.partner_id | record.partner_id.commercial_partner_id
1512
+ partners._increase_rank("customer_rank")
1484
1513
  return records
1485
1514
 
1486
1515
  def write(self, vals):
@@ -1491,6 +1520,9 @@ class PmsFolio(models.Model):
1491
1520
  services_to_update = self.get_services_to_update_channel(vals)
1492
1521
 
1493
1522
  res = super().write(vals)
1523
+ if vals.get("partner_id"):
1524
+ partners = self.partner_id | self.partner_id.commercial_partner_id
1525
+ partners._increase_rank("customer_rank")
1494
1526
  if reservations_to_update:
1495
1527
  reservations_to_update.sale_channel_origin_id = vals[
1496
1528
  "sale_channel_origin_id"
@@ -2120,10 +2152,7 @@ class PmsFolio(models.Model):
2120
2152
  "invoice_line_ids": [],
2121
2153
  "company_id": self.company_id.id,
2122
2154
  "payment_reference": self.name,
2123
- "fiscal_position_id": self.env["account.fiscal.position"]
2124
- .with_company(self.company_id.id)
2125
- ._get_fiscal_position(self.env["res.partner"].browse(partner_invoice_id))
2126
- .id,
2155
+ "fiscal_position_id": self.fiscal_position_id.id,
2127
2156
  }
2128
2157
  return invoice_vals
2129
2158
 
@@ -978,11 +978,6 @@ class PmsProperty(models.Model):
978
978
  self.ensure_one()
979
979
  partner = self.env["res.partner"].browse(partner_invoice_id)
980
980
  # For simplified invoices
981
- if (
982
- self.company_id.partner_id.id == partner.id
983
- and self.company_id.self_billed_journal_id
984
- ):
985
- return self.company_id.self_billed_journal_id
986
981
  if (
987
982
  not partner
988
983
  or partner.id == self.env.ref("pms.various_pms_partner").id
@@ -243,7 +243,7 @@ class PmsReservation(models.Model):
243
243
  compute="_compute_commission_percent",
244
244
  tracking=True,
245
245
  )
246
- commission_amount = fields.Float(
246
+ commission_amount = fields.Monetary(
247
247
  string="Commission amount",
248
248
  help="Amount corresponding to commission",
249
249
  store=True,
@@ -573,7 +573,7 @@ class PmsReservation(models.Model):
573
573
  compute="_compute_amount_reservation",
574
574
  tracking=True,
575
575
  )
576
- price_tax = fields.Float(
576
+ price_tax = fields.Monetary(
577
577
  string="Taxes Amount",
578
578
  help="Total of taxes in a reservation",
579
579
  readonly=True,
@@ -594,7 +594,7 @@ class PmsReservation(models.Model):
594
594
  store=True,
595
595
  compute="_compute_price_room_services_set",
596
596
  )
597
- discount = fields.Float(
597
+ discount = fields.Monetary(
598
598
  help="Discount of total price in reservation",
599
599
  readonly=False,
600
600
  store=True,
@@ -603,7 +603,7 @@ class PmsReservation(models.Model):
603
603
  tracking=True,
604
604
  )
605
605
 
606
- services_discount = fields.Float(
606
+ services_discount = fields.Monetary(
607
607
  help="Services discount",
608
608
  readonly=False,
609
609
  store=True,
@@ -1441,22 +1441,17 @@ class PmsReservation(models.Model):
1441
1441
  record.checkin_partner_count = 0
1442
1442
  record.checkin_partner_pending_count = 0
1443
1443
 
1444
- @api.depends("room_type_id", "partner_id")
1444
+ @api.depends("room_type_id", "partner_id", "folio_id.fiscal_position_id")
1445
1445
  def _compute_tax_ids(self):
1446
1446
  for record in self:
1447
1447
  record = record.with_company(record.company_id)
1448
- if (
1449
- record.partner_id == record.company_id.partner_id
1450
- and record.company_id.self_billed_tax_ids
1451
- ):
1452
- record.tax_ids = record.company_id.self_billed_tax_ids
1453
- else:
1454
- product = self.env["product.product"].browse(
1455
- record.room_type_id.product_id.id
1456
- )
1457
- record.tax_ids = product.taxes_id.filtered(
1448
+ product = record.room_type_id.product_id
1449
+ fiscal_position = record.folio_id.fiscal_position_id
1450
+ record.tax_ids = fiscal_position.map_tax(
1451
+ product.taxes_id.filtered(
1458
1452
  lambda t, r=record: t.company_id == r.env.company
1459
1453
  )
1454
+ )
1460
1455
 
1461
1456
  @api.depends("reservation_line_ids", "reservation_line_ids.room_id")
1462
1457
  def _compute_rooms(self):
@@ -2500,7 +2495,7 @@ class PmsReservation(models.Model):
2500
2495
  def _compute_tourist_tax_lines(self):
2501
2496
  """Return ORM commands to sync tourist tax services on this reservation."""
2502
2497
  self.ensure_one()
2503
- if self.reservation_type != "normal":
2498
+ if self.reservation_type != "normal" or not self.overnight_room:
2504
2499
  return False
2505
2500
  tax_products = self._get_tourist_tax_products(
2506
2501
  pms_property_id=self.pms_property_id.id