Commit Graph

286 Commits

Author SHA1 Message Date
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
930f742fda [IMP] add comment SRP Review 2021-06-16 09:34:49 +02:00
Dario Lodeiros
1ca894f1b5 [IMP] room_type_id ondelete restrict 2021-06-13 11:56:00 +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
OCA Transbot
0892c57f9d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pms-14.0/pms-14.0-pms
Translate-URL: https://translation.odoo-community.org/projects/pms-14-0/pms-14-0-pms/
2021-06-06 09:41:43 +00:00
OCA-git-bot
f6c60f45da pms 14.0.1.0.4 2021-06-06 09:41:31 +00:00
oca-travis
693f028001 [UPD] Update pms.pot 2021-06-06 09:35:02 +00:00
miguelpadin
a85ec9b97e [FIX] pms constraint pricelist items daily & consumption dates 2021-06-04 13:03:58 +02:00
miguelpadin
0b88a21db0 [REF] pms: rename overnight -> consumption 2021-06-03 23:38:54 +02:00
miguelpadin
93efcab230 [REF] pms: tst wizard for several properties (av.plan/pricelist) 2021-06-03 21:57:14 +02:00
miguelpadin
961dc1df0c [REF] pms: refactor test several (prclst,av.plan,r.type) 2021-06-03 20:05:56 +02:00
miguelpadin
e8bb9fd0d0 [IMP] pms: manage pricelist of board services 2021-06-03 19:10:39 +02:00
braisab
18318dd86b [IMP]pms: change many2one fields to many2many 2021-06-03 19:10:39 +02:00
OCA-git-bot
23211a3d58 pms 14.0.1.0.3 2021-06-03 17:01:25 +00:00
miguelpadin
a86e63fd1b [FIX] pms: fix properties error board_service_room_type 2021-06-03 18:30:30 +02:00
oca-travis
819a58d647 [UPD] Update pms.pot 2021-05-29 11:13:13 +00:00
OCA-git-bot
fe9fcf143a pms 14.0.1.0.2 2021-05-29 11:06:44 +00:00
oca-travis
6f05228945 [UPD] Update pms.pot 2021-05-29 11:00:44 +00:00
OCA-git-bot
605b4eea32 Merge PR #6 into 14.0
Signed-off-by DarioLodeiros
2021-05-29 10:54:45 +00:00
OCA-git-bot
47b601d7ed pms 14.0.1.0.1 2021-05-29 10:48:20 +00:00
oca-travis
7df11a3d3b [UPD] Update pms.pot 2021-05-29 10:42:22 +00:00
braisab
3e2c18abd3 [IMP]pms: Advanced filter wizard resizing 2021-05-27 12:40:38 +02:00
Sara Lago
e7f7abf9e8 [IMP] Pms: Add constrain for daily pricelist 2021-05-27 10:34:16 +02:00
OCA-git-bot
3c399bde34 [UPD] README.rst 2021-05-26 14:30:48 +00:00
Sara Lago
884c684f21 [IMP] pms: adapt readme and manifest to OCA Guidelines 2021-05-25 12:25:47 +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
Sara
f85a11e0ae [RFC] Code review (#91)
* [REF] Refactor wizard models

* [REF] Refactor in pms models
2021-05-22 08:45:24 +02:00
braisab
75f8a2e81a [FIX]Enabled advanced pricelist when pms is installed (#92) 2021-05-18 10:51:16 +02:00
Darío Lodeiros
e34f3e1abb [RFC] improvemente column1 name amenity_id PmsRoomAmenity 2021-05-03 19:43:32 +02:00
Darío Lodeiros
b5312f9600 [FIX] recompute avail from total rooms count by room type 2021-05-02 22:46:16 +02:00
Darío Lodeiros
26680b71b2 [RFC] Booking Engine (#89) 2021-04-30 20:01:52 +02:00
Sara
f0d9916216 [FIX] Fix group reservations by folio (#87) 2021-04-28 10:30:53 +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
Sara
de786a375b [IMP] Add fields in booking engine (#84)
* [IMP] Add fields in folio wizard

* pre-commit

* [IMP] Compute service line qty automatically

* [IMP] many2many widget segmentation fiel bookin engine

Co-authored-by: Darío Lodeiros <dario@commitsun.com>
2021-04-26 11:24:39 +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
Darío Lodeiros
011a6f42b5 [FIX] Add code board to tests 2021-04-19 09:28:03 +02:00
Miguel Padin
3e9a6b00c5 [DONE] 14.0 improve compute folio sale lines and name invoice lines on change qty (#78)
* [IMP] pms: improve compute sale lines & generate new names when qty is modified @ invoice lines

* [ADD] pms: add tests for compute folio sale lines

* [FIX] pms: fix old name for av. plan & common base test class

* [FIX] pms: pre-commit fix

* [FIX] pms: fix view according to pr code review
2021-04-19 09:19:13 +02:00
Darío Lodeiros
f99183805d [FIX] Preferred room id compute (#79) 2021-04-19 09:18:11 +02:00
Eric Antones
38a71c3b25 [IMP] pms: added unique code by property on Board Service (#80) 2021-04-19 09:17:50 +02:00
Eric Antones
c19d6a76f6 [FIX] pms: wrong default value in property_id field of room model (#81) 2021-04-19 09:17:07 +02:00
Eric Antones
8d44c1265c [IMP] pms: added SQL unique constraint on Room model (#82) 2021-04-19 09:16:35 +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
eace7de663 [FIX] Compute folio_id from reservation_id (#75) 2021-04-11 21:27:26 +02:00
Miguel Padin
738904eff2 [FIX] pms: fix depends real avail & fix context param room type (#72) 2021-04-08 12:45:19 +02:00
Eric Antones
4cd7042294 [FIX] pms: duplicated UI elements when PMS JS widget is installed (#71) 2021-04-06 21:42:37 +02:00