Commit Graph

31 Commits

Author SHA1 Message Date
Dario Lodeiros
ce4063c735 [IMP] Base partner fields compute on folio&reservation 2021-06-19 10:02:06 +02:00
Darío Lodeiros
27954bd889 Merge branch '14.0' into 14.0-pms_checkin_flow 2021-06-19 08:19:19 +02:00
OCA-git-bot
aa0eba7fe4 Merge PR #15 into 14.0
Signed-off-by DarioLodeiros
2021-06-19 05:41:59 +00:00
Sara Lago
8a23938e34 [IMP] pms: added required fields for the checkin in test_pms_reservation 2021-06-18 22:01:28 +02:00
Sara Lago
e78196cce0 [IMP] pms: refactoring and adding checkin flow tests 2021-06-18 21:45:45 +02:00
Dario Lodeiros
3f42e2720e [IMP] test case assign use room secuence to avoid ifs 2021-06-16 11:54:18 +02:00
Dario Lodeiros
e1772c80cf [IMP] Add test cases autoassign 2021-06-16 10:47:53 +02:00
Dario Lodeiros
843c84c581 [ADD] constrain consecutive reservation dates 2021-06-16 00:05:53 +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
Eric Antones
3ac507130f [REF] pms: rename code_class and code_board to Odoo standard default_code (#83) 2021-04-23 16:50:48 +02:00
Eric Antones
38a71c3b25 [IMP] pms: added unique code by property on Board Service (#80) 2021-04-19 09:17:50 +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
Sara
caec88df40 [ADD]pms: multiproperty checks and domains in reservation and folio (#58)
* [IMP] Pms: Add multiproperty checks and domains in reservation and folio

* [IMP] Pms: fix consider mandatory property in reservation create

* [IMP] Pms_l10n_es: Add reservation property tests

* [IMP] Pms: fix travis problem

* [FIX] Rebase and merge

Co-authored-by: Darío Lodeiros <dario@commitsun.com>
2021-03-07 16:05:20 +01:00
Darío Lodeiros
82ffedfd71 [IMP] partner_id reservation as required on compute 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
Darío Lodeiros
5967157b3d [IMP]pms: Checkin create compute flow 2021-02-19 18:11:34 +01:00
Eric Antones
ef60556ed6 [IMP] pms: make the room type class code required and unique (#52) 2021-02-16 17:26:15 +01:00
Eric Antones
f3d4b7545b [14.0][FIX] pms: minor fixes (#51)
* [FIX] pms: constraint raised when there's no other room type with the same alternate key

* [FIX] pms: required default_pricelist_id field readded in property view

* [FIX] pms: pre-commit black error
2021-02-16 17:23:51 +01:00
Miguel Padin
41a1f66a75 [ADD] pms-pwa: actions checkout, cancel & assign on reservation (#49) 2021-02-10 21:10:32 +01:00
miguelpadin
f45e8fc0e8 [ADD] pms: new fields for pwa 2021-02-05 13:28:37 +01:00
Sara
57d3ab0c8a Multiproperty Constrains (#30)
* [IMP] add multiproperties demo data

* [IMP] add multiproperties checks in res_users

* [IMP] add test case in test_res_users

* [IMP] Add multiproperty checks in pms_amenity and pms_amenity_type

* [IMP] Add multiproperty in pms_board_service_room_type(pending review)

* [IMP] Add test case in test_pms_room_type_availability_rule to check multiproperties

* [IMP] Fixing test case in test_pms_room_type_availability_rule to check multiproperties

* [IMP] Add test case in test_pms_room_type_availability_rule

* [IMP] Removed field default_availability_plan_id from pms_property

* [IMP] Add multiproperty in pms_room_type_available_plan

* [IMP] pms: adding property in rooms_available

* [IMP] Add multiproperty in pms_room_type_availability_rule and product_pricelist(work in progress)

* [IMP] Add multiproperty in product_pricelist and product_pricelist_item

* [IMP] add multiproperties demo data

* [IMP] add multiproperties checks in res_users

* [IMP] add test case in test_res_users and pms_room_type_availability_rule

* [IMP] Add multiproperty checks in pms_amenity and pms_amenity_type

* [IMP] Add multiproperty in pms_board_service_room_type(pending review)

* [IMP] Removed field default_availability_plan_id from pms_property

* [IMP] Add multiproperty in pms_room_type_available_plan

* [IMP] pms: adding property in rooms_available

* [IMP] Add multiproperty in pms_room_type_availability_rule and product_pricelist(work in progress)

* [IMP] Add multiproperty in product_pricelist and product_pricelist_item

* [IMP] Pms: add compute_folio method in pms.service

* [IMP] Pms: add multiproperty integrity checks between room_type and its class

* [IMP] Pms: pms_property_id related to folio

* [IMP] Pms: add multiproperty integrity checks in pms_room with pms_room_type and pms_floor

* [IMP] Pms: adding multiproperty checks in room_type(work in progress)

* [IMP] Pms: Add property rules

* [FIX]pms: external ids security rules

* [FIX]pms: property checks

* [FIX]pms: get product on pricelist item multiproperty check

* [FIX]pms: delete test field default_plan

* [FIX]pms: property constrain to product from room type model

* [FIX]pms: ids references

* [IMP]pms: folio wizard price flow on odoo standar

Co-authored-by: Darío Lodeiros <dario@commitsun.com>
2021-01-31 13:07:03 +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
Miguel Padin
3bf6dd78a6 [FIX] pms: fix tests (#24) 2020-12-15 15:40:21 +01:00
miguelpadin
ebe851aa24 [REF] pms: rename availability plans to pms.room.type.availability & .rules 2020-12-15 10:18:09 +01:00
Darío Lodeiros
b7fd5cfdfb [IMP] test flush assert 2020-11-16 11:16:41 +01:00
Darío Lodeiros
a09a8c495c [DEL] _pytest dependency 2020-11-16 10:57:27 +01:00
Darío Lodeiros
f09d034e5f Merge branch '14.0' into 14.0-pms-minimize-split-rooms 2020-11-15 16:45:11 +01:00
padomi
ab339823b2 [IMP] pms: wizard unify line room ids 2020-11-12 19:12:22 +01:00
padomi
cf2241c4fb [IMP] pms: Compute rooms on splitted reservations 2020-11-10 18:58:14 +01:00
padomi
50e8b7bf03 [IMP] pms: add children capacity 2020-10-29 13:57:30 +01:00
Darío Lodeiros
0d1a90c7b3 [ADD] Test basic case 2020-10-12 18:11:48 +02:00