Commit Graph

67 Commits

Author SHA1 Message Date
Sara Lago
1dece9ebb0 [IMP] pms: remove unnecessary compute in pms_reservation_line 2022-09-15 19:45:40 +02:00
Sara Lago
4be7a309a5 [IMP] pms: add required sale_channel_origin in the already created tests 2022-09-15 19:45:40 +02:00
Sara Lago
4f738141a4 [IMP] pms: add multiple sale channel in pms_folio, pms_reservation and pms_reservation_line 2022-09-15 19:45:40 +02:00
Darío Lodeiros
c64c8c480a [RFC]pms: Refactor quota compute to inherit create 2022-07-30 12:04:33 +02:00
braisab
a63f866e6a [IMP]pms: added overbooking field and compute in reservation line 2022-05-02 10:30:52 +02:00
Darío Lodeiros
3bae65b307 [FIX]pms: impacts quota fix 2022-04-23 13:03:05 +02:00
Darío Lodeiros
f1b6cb3262 [IMP]pms: service&reservation line add relation with folio sale lines 2022-04-15 09:43:56 +02:00
Darío Lodeiros
dff9439f01 [IMP]pms: update quota search rule by property 2022-04-03 12:58:54 +02:00
oca-git-bot
ea5f7b8d08 [IMP] update dotfiles [ci skip] 2022-03-31 17:06:41 +02:00
Darío Lodeiros
f76dd5481e [IMP]pms: force room filtered by property 2022-01-08 18:14:20 +01:00
Darío Lodeiros
312a27f0be [FIX]pms: tests availability 2021-10-24 10:52:14 +02:00
Darío Lodeiros
19d855f17a [IMP]pms: improvements availability compute 2021-10-23 20:50:32 +02:00
Darío Lodeiros
af236ec0f0 [FIX]:pms compute impacts quota reservation line 2021-08-31 19:24:21 +02:00
braisab
39f8a35f05 [IMP]pms: Changes in staff and out type reservations 2021-08-09 19:39:47 +02:00
miguelpadin
3b0bf39215 [FIX] pms: fix check adults w. extra beds, fix day_qty @ pms.service.line, change literal code spain & fix tests 2021-07-26 09:03:53 +02:00
Dario Lodeiros
60e82d576b [IMP] Avoid splitted reservation in intemediate calculation room lines 2021-07-12 12:16:37 +02:00
OCA-git-bot
f5b48eb89a Merge PR #34 into 14.0
Signed-off-by DarioLodeiros
2021-07-10 08:22:52 +00:00
Dario Lodeiros
ff41cad50c [RFC] Availability and free rooms 2021-07-06 20:04:53 +02:00
Sara Lago
a026254670 [IMP] pms: calculation of service discount on cancellation flow 2021-07-02 11:45:38 +02:00
Dario Lodeiros
14f707b20b [IMP]pms: manual assigned preferred room id by code fixed 2021-07-01 09:36:47 +02:00
Eric Antones
f004dda8f6 [IMP+REF] pms: Allow force overbooking when no availability 2021-06-29 11:26:44 +02:00
Dario Lodeiros
3a4b48901d [IMP] reservation state cancel key, improvement views and refactoring 2021-06-28 10:21:01 +02:00
OCA-git-bot
aa0eba7fe4 Merge PR #15 into 14.0
Signed-off-by DarioLodeiros
2021-06-19 05:41:59 +00:00
Dario Lodeiros
930f742fda [IMP] add comment SRP Review 2021-06-16 09:34:49 +02:00
Dario Lodeiros
5b475b98c7 [WIP] Refactoring test_pms_folios: missing payments and agency commission 2021-06-13 19:34:13 +02:00
Dario Lodeiros
7ddc341d8e [IMP] Set to_assign to False when preferred_room_id is manually set 2021-06-13 11:56:00 +02:00
Darío Lodeiros
368a2e6948 [FIX] upgrade real avail on cancel reservation line 2021-05-24 12:39:45 +02:00
Darío Lodeiros
b3186b70e9 [RFC] Models descriptions and other fixes 2021-05-22 09:50:31 +02:00
Darío Lodeiros
0df86bd5e2 [IMP] Multiproperty checks 2021-05-22 09:18:54 +02:00
Miguel Padin
a46b68e8a5 [DONE] 14.0 split join swap reservations (#85)
* [REF] pms: change name to reservation wizard

* [IMP] pms: operations over reservations (split,join,swap)

* [IMP]pms, swap reservation: order reservation by rooms and readonly compute fields

* [IMP] wizard split reservation allowed_room_ids domain

* [IMP] pms: refactor swap operations and tests cases

* [FIX] pms: fix tests and & behaviour

* [FIX] rebase code review compatibility

Co-authored-by: Darío Lodeiros <dario@commitsun.com>
2021-04-28 09:58:23 +02:00
Darío Lodeiros
e7c0c3e5bd [ADD]multi_pms_properties (#66)
* [WIP]pms: models check_pms_property

* [WIP][IMP+REF] multi_pms_properties: refactor and added test skeleton

* [FIX] inherit create models

* [ADD] room multiproperty check

* [ADD] room multiproperty check

* [IMP] Multiproperty checks in pms models

* [IMP] Fix Multiproperty checks in pms models

* [IMP] Add multiproperty domain in multi_pms_properties module

* [IMP] Fix multiproperty checks in pms tests

* [IMP] Fix multiproperty checks logic

* [IMP] Auto Domains

* [IMP] availability property results, domain preferred_room_id

* [IMP] model domain properties

* [ADD] pms multiproperty depends

* [IMP] models and views multiproperty checks

* [FIX] Multiple rebase multiproperty fixes

* [ADD] Readme

* [ADD] Company - multiproperty checks

* [ADD] travis server wide modules multiproperty

* [FIX] travis conf load

* [FIX] travis conf load2

* [FIX] travis conf load2

Co-authored-by: Eric Antones <eantones@nuobit.com>
Co-authored-by: Sara Lago <saralago126@gmail.com>
2021-04-27 20:01:42 +02:00
Darío Lodeiros
011a6f42b5 [FIX] Add code board to tests 2021-04-19 09:28:03 +02:00
Darío Lodeiros
f99183805d [FIX] Preferred room id compute (#79) 2021-04-19 09:18:11 +02:00
Miguel Padin
823df6a345 [FIX] pms: fix demo data and readonly reservationline.price (#77) 2021-04-15 13:02:18 +02:00
Miguel Padin
0d03152402 Code review (#62)
* [REF] pms: refactor amenity type

* [REF] pms: refactor amenity

* [REF]Refactor amenity views and demo data

* [WIP] master model 2nd day

* [WIP] Master model refactor

* [WIP] Refactor in tests

* [WIP] Add mandatory sequence in pms_property at tests and fix create in folio, reservation and checkin

* [WIP] Test refactor

* [WIP]Refactor pms_room, pms_room_clousure_reason and pms_room_type

* [WIP]review of guidelines in master models

* [WIP]test refactor

* [WIP]review guidelines in master models 2

* [WIP] fixed fields in pms_l10n_es

* [WIP]Refactor product_product, product_template, res_company, res_partner and res_user

* [IMP] Add common.py for tests

* [WIP] Refactor fields in pms.folio and pms.reservation

* [WIP] Review guidelines in pms.reservation, pms.reservation.line and rename availability models

* [WIP] Rename availability models

* [WIP] Refactor availability models

* [WIP] Refactor availity models 2

* [WIP] Pms: add sequences creation in pms_property create

* [WIP] Fix sequence creation in pmp.property

* [REF] Refactor fields in res_partner and rename date_overnight

* [REF] Refactoring master models tests

* [FIX] Fix sequence create in pms.reservation

* [REF] Refactor helps in master and availability models

* [IMP] Extend test coverage in test_pms_reservation

* [REF] Refactor fields in pms_reservation

* [REF] Refactor fields in pms_reservation 2

* [REF] Refactor fields in service flow

* [REF] Refactor pms_reservation

* [REF] Refactor pms_reservation 2

* [REF] draft button removed from view

* [REF] change no_show to arrival_delayed in field state of pms_reservation

* [REF] Add compute_preferred_room_id in pms_reservation

* [REF] Fix cache problem in test_reservation_action_checkout

Co-authored-by: braisab <braisterbutalino@gmail.com>
Co-authored-by: Sara Lago <saralago126@gmail.com>
Co-authored-by: Brais Abeijón <>
2021-04-15 01:01:11 +02:00
Darío Lodeiros
ec841374cf 14.0 pms service price day (#57)
WIP: compute folio_sale_line without (5,0,0)
WIP: boardservices pricelist item sql search

* [IMP]pms: Service day with prices

* [ADD]pms: New Product price base type: Board Service

* [WIP]pms: pricelist item rule board service

* [WIP]pms: pricelist boardservice sql

* [WIP]pms: pricelist boardservice sql

* [IMP] service price per day

* [FIX] compute board_service reservation change

* [FIX] Views

* [IMP]pms: add default user_id on reservation and folio

* [IMP]pms: aler change prices reservation

* [FIX]pms: recompute reservation services board

* [DEL]pms: pricelist field on board_service_room_type

* [RFC] sale_line_ids model
2021-03-30 19:34:53 +02:00
Darío Lodeiros
a14d248114 [IMP]pms: update price from pricelist change 2021-03-07 15:18:58 +01:00
Darío Lodeiros
965a03881c [ADD] 14.0 pms real avail compute (#60)
* [ADD]pms: avail real

* [ADD] Wizards adaptation multiproperty & new real avail model

* [ADD] Tests Wizard avail
2021-03-01 12:04:19 +01:00
Sara
3eefc9a9ad [IMP] Pms: Translation Done (#48) 2021-02-10 21:12:10 +01:00
Miguel Padin
cb96f3a9d0 [DONE] consider SALE dates & OVERNIGHT dates on pricelist items (#38)
* [FIX] pms: fix timezones (test,compute & create) @ massive changes

* [REF] pms: fiels date_start/end_overnight (pricelist_items)

* [IMP] pms: SQL to consider overnight dates and priorize items (_compute_price_rule_get_items)

* [REF] pms: add tests for overnight dates and unify test cases with subtests

* [FIX] pms: fix apply partially pricelist items on several reservation lines

* [FIX] pms: consider services to priorize pricelists

* [FIX] test pricelist priority without taxs

Co-authored-by: Darío Lodeiros <dario@commitsun.com>
2021-01-20 12:19:42 +01:00
Darío Lodeiros
19fffec6ba 14.0 pms account flow (#36)
* [WIP] Basic tests definition

* [DEL] Default diff invoicing

* [WIP] Reservation refact invoice fields

* [FIX] test price without taxes

* [FIX] Security csv merge

* [WIP]pms: Wizard adv inv views

* [ADD] Wizard Filter Invoice Days

* [WIP] Payment WorkFlow
2021-01-20 11:41:31 +01:00
Miguel Padin
5f7bd6b540 [ADD] pms: wizard massive changes on availability plans and pricelists (#28)
* [IMP] pms: wizard massive changes on availability plans

* [TEST] add creation rule based on weeek days

* [REF] pms: model av. plan, rule_ids & inv. name

* [IMP] pms: wizard called from pricelist & availability plans consistently

* [IMP] pms: wizard massive changes on pricelists

* [FIX] pms: fix creation pricelist items

* [FIX] pms: fix timezone on create pricelist items

* [TEST] pms: fix time zone issues in testing
2020-12-22 10:53:13 +01:00
miguelpadin
ebe851aa24 [REF] pms: rename availability plans to pms.room.type.availability & .rules 2020-12-15 10:18:09 +01:00
miguelpadin
6080db54be [IMP] pms: availability plans 2020-12-15 10:18:09 +01:00
Darío Lodeiros
b218086024 Merge pull request #15 from commitsun/pr-pms_manual_set_preferred_room_id
Allow change preferred_room_id on reservation
2020-12-07 11:11:54 +01:00
Darío Lodeiros
f4edee18a6 [IMP] Allow change preferred_room_id on reservation 2020-11-16 18:19:31 +01:00
Darío Lodeiros
8fa5c5660b [ADD] Auto create checkin records from reservation adults 2020-11-16 16:49:45 +01:00
Darío Lodeiros
1e711e842b [WIP] Checkin Flow Assigned-Unassigned 2020-11-16 13:17:40 +01:00
Darío Lodeiros
ff141b5534 [DEL] delete auto_booking field 2020-11-16 13:17:40 +01:00
Darío Lodeiros
447de5f8f3 [IMP] Precommit improvements 2020-11-16 13:02:43 +01:00