Commit Graph

16 Commits

Author SHA1 Message Date
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
4b680c8fdc [ADD]pms: automatic create statement (#54) 2021-02-18 09:52:02 +01:00
Darío Lodeiros
f3813b5aa4 [FIX] wizard invoice bill services-rooms 2021-01-31 17:25:43 +01:00
Darío Lodeiros
2efbf78f4a [IMP] Improvements 2021-01-31 17:25:43 +01:00
Darío Lodeiros
a8292ff9c1 [IMP] reservation views 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
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
dcf2cfac12 [FIX] pms: pre-commit error black 2021-01-19 22:24:56 +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
braisab
44a1d04bfc 14.0 pms dates wizard (#32)
* [ADD]pms: Filtered dates wizard

* [IMP]pms: add filter by checkin partner departure

* [IMP]pms: change filters by date to advanced filters

* [REF] pms: change of multiple buttons for one button

* [REF]pms: dict instead of 'ifs'

Co-authored-by: Brais Abeijón <a17braisab@iessanclemente.net>
2021-01-04 15:18:30 +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
Darío Lodeiros
447de5f8f3 [IMP] Precommit improvements 2020-11-16 13:02:43 +01:00
padomi
ab339823b2 [IMP] pms: wizard unify line room ids 2020-11-12 19:12:22 +01:00