Darío Lodeiros
26680b71b2
[RFC] Booking Engine ( #89 )
2021-04-30 20:01:52 +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
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
Eric Antones
38a71c3b25
[IMP] pms: added unique code by property on Board Service ( #80 )
2021-04-19 09:17:50 +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
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
Miguel Padin
bd49db24f0
[DONE] pms: allow to select the rules to be overridden ( #67 )
...
* [IMP] pms: allow to select the rules to be overridden
* [FIX] pms: fix pricelist bug last commit
2021-03-20 10:06:32 +01:00
Darío Lodeiros
e3b19793f1
[FIX]pms: Board price_type del
2021-03-07 17:03:24 +01:00
braisab
220bffa5b7
[ADD]pms: Multiproperty domains in master models ( #56 )
...
* [IMP]pms: Multiproperty domains in master models
* [FIX]pms: syntax errors fixed
* [FIX]pms: Pre-commit
Co-authored-by: Darío Lodeiros <dario@commitsun.com >
2021-03-07 16:20:14 +01: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
Miguel Padin
7619288892
[IMP] allow invoicing several partners from folio ( #64 )
...
field partner_invoice_id (m2o)->partner_invoice_ids(m2m)
2021-03-07 15:23:29 +01:00
Darío Lodeiros
82ffedfd71
[IMP] partner_id reservation as required on compute
2021-03-07 15:18:58 +01:00
Miguel Padin
f28cc65dcd
[IMP] pms: allow partial invoicing ( #61 )
...
* [IMP] pms: allow partial invoicing
* [FIX] pms: precommit fixes
* [FIX] pms: uncomment init test file
2021-03-01 16:23:21 +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
Miguel Padin
71d5aa8446
[DONE] PWA payment-flow ( #55 )
...
* [REF] pms: move payment action from wizard to folio
* [FIX] pms: fix last commit (travis error)
* [ADD] pms: test case partial payment
* [FIX] add firstname to pms.checkin.partner(l10n)
2021-02-22 18:25:55 +01:00
Darío Lodeiros
5967157b3d
[IMP]pms: Checkin create compute flow
2021-02-19 18:11:34 +01:00
Darío Lodeiros
b72e087b56
[FIX]pms: create and update checkins ( #53 )
2021-02-19 16:53: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
Darío Lodeiros
97cfc43787
[ADD]pms: Button Booking Engine tree reservation
2021-01-31 17:25:43 +01:00
Darío Lodeiros
1b4cc559a9
[IMP]pms: class_id room_type required
2021-01-31 17:25:43 +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
Darío Lodeiros
6cd01fb0d2
[FIX]pms: change unlink checkins partner autocreate by write
2021-01-31 10:12:51 +01:00
Darío Lodeiros
fb7c7aa73b
[FIX]pms: test checkin partner count only test reservations
2021-01-29 08:58:22 +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
Eric Antones
1d44fd22c7
[IMP] pms: obtaining all room types of a property ( #37 )
...
Get all room types of a property excluding the room types with the same codes and without properties or company
This is a generalization of the current behavior allowing to search also without specifying a room type code
2021-01-11 17:02:39 +01:00
Miguel Padin
a1f5c0bce7
[ADD] pms: wizard folio reservations ( #33 )
...
* [IMP] pms: wizard folio reservations
* [IMP] pms: wizard folio reservation (creates folio & reservations)
* [IMP] pms: wizard folio reservation (discount)
* [FIX] pms: remove review comments resolved
2021-01-07 12:42:30 +01:00
Miguel Padin
8b429b4da5
[IMP] pms: xls checkin partners export & validate fields import ( #34 )
...
* [FIX] pms: fix xls checkin partners export & validate fields import
* [FIX] pms: fix last commit file missing
2021-01-07 11:20:07 +01:00
braisab
d82c91c854
[FIX] pms: sort pricelist whitout start or date end ( #29 )
...
Co-authored-by: Brais Abeijón <a17braisab@iessanclemente.net >
2020-12-22 11:04:07 +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
Miguel Padin
644e276d60
[FIX] pms: fix naming restriction -> availability on test_pms_room_type ( #26 )
2020-12-15 11:33:07 +01:00
Darío Lodeiros
d9f4bcd7ad
Merge branch '14.0' into 14.0-availability-plans
2020-12-15 10:47:36 +01:00
miguelpadin
c698a1b154
[FIX] pms: remove @Skip tags on test_pms_room_type_availability_rules
2020-12-15 10:44:56 +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
Eric Antones
7f62e6e209
[IMP] pms: added integrity restriction on room type alternate key (code_type, pms_property_id)
2020-12-14 11:30:00 +01:00
Darío Lodeiros
09725e5b61
[FIX] test sales channel
2020-12-02 17:56:23 +01:00
Darío Lodeiros
7bb738f1e4
[IMP] Precommit sintax
2020-12-02 13:57:32 +01:00
Darío Lodeiros
84130af403
Merge branch '14.0' into 14.0-pms_pricelist_rules_priority
2020-12-01 12:32:44 +01:00
Sara Lago
ab377afb5e
[IMP] add commissions on reservation and folio
2020-12-01 12:21:05 +01:00
Sara Lago
121bd7c260
[IMP] precommit fixed
2020-12-01 12:19:53 +01:00
Sara Lago
29fc701c52
[IMP] add test to check sales channel domain
2020-12-01 12:19:53 +01:00