Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14.0 pms api rest #313

Open
wants to merge 547 commits into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
547 commits
Select commit Hold shift + click to select a range
a685d97
[ADD] pms_api_rest: add reservation id to reservation service service
miguelpadin Nov 23, 2022
5b0b1d1
[FIX] pms-api-rest: agency id @ folio datamodel not required
miguelpadin Nov 23, 2022
fc3513a
[FIX] pms-api-rest: update folio @ folio service to add reservations
miguelpadin Nov 23, 2022
5a47184
[FIX] pms-api-rest: fix vals & condition to create reservations @ upd…
miguelpadin Nov 23, 2022
be9d0b7
[IMP]pms_rest_api: Improvement folio search
DarioLodeiros Nov 23, 2022
b503e68
[FIX]pms_api_rest: fix patch discount to 0
DarioLodeiros Nov 23, 2022
c682d93
[FIX]pms_api_rest: get_reservations partner_name or none
DarioLodeiros Nov 23, 2022
b86793b
[FIX]pms_api_rest: allow none datamodel folio fields (staff and outse…
DarioLodeiros Nov 24, 2022
fcf6242
[REF]pms_api_rest: unlink checkin partner
braisab Nov 25, 2022
cee0b87
[ADD]pms_api_rest: Basic notifications service
DarioLodeiros Nov 23, 2022
42c56cf
[ADD]pms_rest_api: add datamodel notifications
DarioLodeiros Nov 23, 2022
ae14b35
[FIX] pms-api-rest: change param timestamp
miguelpadin Nov 25, 2022
24cc145
[FIX] fix when no sale channel name
miguelpadin Nov 25, 2022
704e4f9
[IMP]pms_api_rest: improvement order folio reservations slide by sequ…
DarioLodeiros Nov 27, 2022
32ca815
[FIX] pms-api-rest: remove services when no board service @ udpate re…
miguelpadin Nov 28, 2022
b721522
[IMP] pms-api-rest: add taxes percentage to prdouct service
miguelpadin Nov 28, 2022
4fccad7
[FIX] pms-api-rest: remove taxes percentage @ product service & reloa…
miguelpadin Nov 29, 2022
0880d17
[FIX] pms-api-rest: fix precommit
miguelpadin Nov 29, 2022
fb675d1
[IMP]pms_api_rest: added overpayment color to configurate in property
braisab Nov 29, 2022
ec06db1
[FIX]pms_api_rest: dont link services with boardServiceId param None
DarioLodeiros Dec 1, 2022
c5de367
[IMP]pms_api_rest: unique board_service_room_type by property
DarioLodeiros Dec 7, 2022
5c92654
[TMP]: add amenity code in room short name
DarioLodeiros Dec 7, 2022
3cfe38f
[IMP]pms_api_rest: avoid fail in move lines with multiple folio lines
DarioLodeiros Dec 8, 2022
5cbcec5
[IMP]: pms-pwa: added folio services GET service
braisab Dec 12, 2022
4344db3
[RFC]pms_api_rest: disables subquery services daily invoices in calen…
DarioLodeiros Dec 14, 2022
c30a8c0
[RFC]pms_api_rest: disabled user image GET by performance issues
DarioLodeiros Dec 14, 2022
e6a9ad2
[FIX]pms_api_rest: patch invoice without lines in vals
DarioLodeiros Dec 14, 2022
e5e9762
[FIX]pms_api_rest: PmsPriceService name Class
DarioLodeiros Dec 14, 2022
cacbe82
[FIX]pms_api_rest: alerts per day get overbooking lines
DarioLodeiros Dec 21, 2022
564f2fd
[IMP]pms_api_rest: localize date done cash register
DarioLodeiros Dec 24, 2022
3072c3c
[IMP] pms-api-rest: several changes to takt into account out-of-servi…
DarioLodeiros Apr 6, 2023
8ee8b79
[IMP]pms_api_rest: added filter by state and checkin/checkout in foli…
braisab Dec 23, 2022
7ba3eec
[IMP]pms_api_rest: partner name, email and mobile in folio PATCH
braisab Dec 28, 2022
335a636
[IMP]pms_api_rest: imrpovement performance folio get service
DarioLodeiros Dec 29, 2022
70a9e1c
[IMP]pms_api_rest: improvement compute invoice sequence lines
DarioLodeiros Dec 30, 2022
5696394
[IMP]pms_api_rest: draft invoice use invoice_date_due
DarioLodeiros Dec 30, 2022
13a3785
[IMP]pms_api_rest: added toAssign, name and partnerName in folios ser…
braisab Jan 4, 2023
323ea48
[IMP]pms-api_rest: GET reservations services with toAssign param
braisab Jan 5, 2023
7d9c560
[FIX]pms_api_rest: get, post and patch checkin partner nationality_id
braisab Jan 3, 2023
f027bfc
[IMP]pms-pwa: added service header for folio mails
braisab Nov 24, 2022
5d0ab5d
[ADD]pms_api_rest: workflow folio mails
DarioLodeiros Dec 24, 2022
c548380
[WIP]pms_api_rest: service get folio and invoice mail
braisab Jan 13, 2023
57a3f93
[IMP]pms_api_rest: add compose to mail service
DarioLodeiros Jan 17, 2023
7cde393
[IMP]pms_api_rest: added portal_url field in folio GET service
braisab Jan 17, 2023
a989990
[IMP]pms_api_rest: add date_to in services report
DarioLodeiros Jan 19, 2023
2cb3c4a
[IMP]pms_api_rest: partnet search mail explicit with @
DarioLodeiros Jan 19, 2023
a596ca4
[IMP]pms_api_rest: add date_to in services report
DarioLodeiros Jan 19, 2023
2af611b
[FIX]pms_api_rest: avoid False in invoice line sections
DarioLodeiros Jan 19, 2023
c45d22c
[TMP]pms_api_rest: temporally avoid xml error
DarioLodeiros Jan 20, 2023
416c3aa
[IMP]pms_api_rest: force update name in line invoices to avoid overwrite
DarioLodeiros Jan 22, 2023
4aa44de
[IMP]connector_pms: checkin partner search document number improvements
DarioLodeiros Jan 29, 2023
8c6ac1b
[IMP]pms_api_rest: PATCH reservation check room type id value
DarioLodeiros Jan 30, 2023
f6c92de
[IMP]pms-api_rest: added partner_requests field in fetch and patch re…
braisab Feb 1, 2023
d1da479
[IMP]14.0-pms_api_rest: added return transaction ids for folio after …
braisab Feb 3, 2023
7ecbe14
[RFC]pms_apie_rest: return folio transactions
DarioLodeiros Feb 4, 2023
86311cd
[IMP]pms_api_rest: ignore overbooking reservations in calendar
DarioLodeiros Feb 4, 2023
607997c
[IMP]pms_api_rest: compare float field values changes with round
DarioLodeiros Feb 5, 2023
cc9c778
[IMP]pms_api_rest: improvement search by document partners
DarioLodeiros Feb 5, 2023
12428e8
[FIX]pms_api_rest: fix filter ield pms_api_transaction_type
DarioLodeiros Feb 6, 2023
14e56ae
[IMP]pms_api_rest: added GET service for reservation messages
braisab Feb 7, 2023
659c1af
[IMP]pms_api_rest: get_folio_reservation_messages reformated to get f…
braisab Feb 9, 2023
e14cd62
[IMP] pms_api_rest: add get service for invoices
saralb9 Feb 13, 2023
d0e09d3
[IMP] pms_api_rest: add filters in invoices list
saralb9 Feb 16, 2023
358ab09
[IMP] pms_api_rest: add amount total in invoices service
saralb9 Feb 23, 2023
0db5130
[IMP] pms_api_rest: change domain and filter in get invoices and add …
saralb9 Mar 6, 2023
75f618d
[FIX]pms_api_rest: fix import odoo.odoo
DarioLodeiros Mar 6, 2023
c061964
[IMP] pms_api_rest: add property on domain in get_invoices
saralb9 Mar 8, 2023
165da67
[IMP]pms_api_rest: use active_test context to avoid get archived rooms
DarioLodeiros Mar 21, 2023
42f7289
[IMP]pms_api_rest: use author name first (mail if not name) in messag…
DarioLodeiros Mar 21, 2023
6ee9a6f
[IMP] pms_api_rest: add language in folio services
saralb9 Mar 23, 2023
d70fa0d
[IMP] pms_api_rest: add language in property services
saralb9 Mar 24, 2023
a9a4174
[IMP] pms_api_rest: add language in folio patch
saralb9 Mar 27, 2023
89dc392
[ADD]pms_api_rest: avails service and datamodel
DarioLodeiros Dec 24, 2022
d9db33b
[FIX] pms-api_rest: add avail datamodel & service to inits
miguelpadin Dec 30, 2022
17f1ca7
[IMP] pms_api_rest: board service id @ service's service (datamodel &…
miguelpadin Jan 11, 2023
6f62def
[IMP] pms_api_rest: children 0 if None @ folio & reservation service
miguelpadin Jan 11, 2023
284e301
[IMP] pms-api_rest: update checkin & checkout @ update reservation se…
miguelpadin Jan 19, 2023
05d6ada
[FIX] pms-api_rest: fix precommit
miguelpadin Jan 19, 2023
a4e2d29
[WIP] pms-api-rest: wip PATCH/POST services problem
miguelpadin Mar 14, 2023
4492a61
[IMP] pms-api-rest: skip generate bs lines
miguelpadin Apr 3, 2023
604493a
[IMP]pms_api_rest: user validator back config in login service
DarioLodeiros Apr 5, 2023
9b34582
[IMP]pms_api_rest: add context avoid_availability_check in swap reser…
DarioLodeiros Apr 6, 2023
8bb35e7
[DEL] empty file init in root
DarioLodeiros Apr 6, 2023
e29e143
[IMP]pms_api_rest: swap reservations calendar workflow
DarioLodeiros Apr 19, 2023
543918e
[IMP]pms_api_rest: force compute default board service un POST reserv…
DarioLodeiros May 19, 2023
64fca8e
[IMP]pms_api_rest: Set channel manager api servicer base
DarioLodeiros Jun 19, 2023
be5722c
[IMP]pms_api_rest: Prepare board_servide folio post to external clients
DarioLodeiros Jun 26, 2023
4208403
[IMP]pms_api_rest: added reselling field in reservation line datamode…
braisab Apr 19, 2023
5b98804
[IMP]pms_api_rest: Avoid set number invoice updated draft invoices
DarioLodeiros Jul 2, 2023
4c36f83
[WIP]pms_api_rest: external clients API
DarioLodeiros Jul 11, 2023
9716f08
[IMP] pms_api_rest: number of unassigned reserv. service notification
miguelpadin Apr 18, 2023
35cf318
[IMP]pms_api_rest: added firstCheckin and createDate fields in folio …
braisab Apr 25, 2023
f655f85
[IMP]pms_api_rest: added defaultCode field in room type class datamodel
braisab May 10, 2023
0bdc555
[IMP] pms_api_rest: add fields in get_folios
saralb9 Apr 27, 2023
c9f8a9f
[IMP]pms-api-rest: filter folio by state and limit/offset
braisab Apr 27, 2023
ac00d32
[IMP] pms_api_rest: add fields in reservations on get_folios
saralb9 May 24, 2023
8784088
[IMP] pms_api_rest: filter out reservations in get_folios
saralb9 May 25, 2023
2f7e563
[IMP] pms_api_rest: add fields in get_folio_reservations
saralb9 May 29, 2023
5c79a6d
[IMP]pms_api_rest: added to_assign in fetch_folio_reservations
braisab May 29, 2023
73303c7
[IMP]pms-api_rest: added nights and numServices to reservation datamodel
braisab May 29, 2023
1dbf3fd
[IMP]pms_api_rest: added user services and datamodel fields
braisab May 12, 2023
f40041f
[REF]pms_api_rest: is_new_interface_app_user change in write_user
braisab May 15, 2023
7520cf6
[IMP]pms_api_rest: added service to change userr password
braisab May 16, 2023
6dee574
[IMP]pms_api_rest: added services to reset user password
braisab May 22, 2023
b76a4b0
[IMP]pms-api-rest: url field changed to url param in send reset mail …
braisab May 23, 2023
dbd13d8
[IMP]pms_api_rest: added mail template to reset paswword
braisab May 29, 2023
bc87616
[IMP] pms_api_rest: amenities in room name
miguelpadin May 29, 2023
f4f6190
[FIX] Import odoo.odoo pms_user_service
DarioLodeiros May 31, 2023
2e66c00
[FIX] pms-api-rest: fix login service else none when no email
miguelpadin May 31, 2023
72474cc
[IMP] pms_api_rest: add sale channel icon in datamodel and service
saralb9 Jun 1, 2023
db7f6d1
[IMP] pms_api_rest: add filter in get_folios
saralb9 Jun 7, 2023
4420051
[IMP][DEMO] pms_api_rest: add fields in reservation datamodel
saralb9 Jun 19, 2023
e19d62f
[IMP][DEMO] pms_api_rest: add fields in reservation datamodel and rmv…
saralb9 Jun 19, 2023
916b41b
[REF]pms_api_rest: changed search domain operator like to ilike
braisab Jun 21, 2023
947924e
[IMP]pms_api_rest: service calendar performance improvement
DarioLodeiros Jun 11, 2023
7875cc5
[IMP] pms-api-rest: improvement performance planning
miguelpadin Jun 15, 2023
3c9c938
[IMP] pms-api-rest: old & new planning service
miguelpadin Jun 19, 2023
729edc2
[imp] pms-api-rest: add fields capacity & room_type_class_id to plann…
miguelpadin Jun 19, 2023
628ebac
[FIX] pms-api-rest: fix field folio pending amount @ planning service
miguelpadin Jun 20, 2023
eeb7a9c
[IMP] pms-api-rest: add planning calendar headers service
miguelpadin Jun 26, 2023
ab27bdd
[FIX] ms-api-rest: add default code field to amenity service payload
miguelpadin Jun 26, 2023
7a9e646
[FIX] pms-api-rest: round daily billing headers
miguelpadin Jun 28, 2023
07efe1f
[FIX] pms-api-rest: old calendar reselling False if is None
miguelpadin Jun 28, 2023
6976f91
[IMP] pms-api-rest: add restrictions to calendar service
miguelpadin Jul 11, 2023
c6fc6f6
[IMP]pms-api-rest: added isReselling field to reservation datamodel
braisab Jul 12, 2023
42aef90
[IMP] pms-api-rest: order by sequence and filter by active @ calendar…
miguelpadin Jul 13, 2023
87da33c
[FIX] pms-pwa: add amenity in room name as a field in calendar service
miguelpadin Jul 13, 2023
5d76843
[FIX] pms-pwa: change field name by default code @ room service in a…
miguelpadin Jul 13, 2023
a324ac4
[IMP] pms-api-rest: param for daily pricelists-services & new plannig…
miguelpadin Jul 19, 2023
e9c0c31
[IMP] pms-api-rest: add free rooms by type @ calendar pricelist and r…
miguelpadin Jul 21, 2023
f62553e
[REF] pms-api-rest: maxAvail -> maxAvailability @ calendar service
miguelpadin Jul 24, 2023
5e1268d
[IMP]pms_api_rest: keep line data in post reservation with reservatio…
DarioLodeiros Jul 25, 2023
36c831a
[FIX] pms-api-rest: fix param property in sql pricelist calendar & fi…
miguelpadin Jul 26, 2023
15a6ecd
[FIX] pms-api-rest: remove unnecessary query from subquery for free r…
miguelpadin Jul 26, 2023
0754d12
[FIX] pms-api-rest: fix order by sequence @ calendar pricelist items
miguelpadin Jul 28, 2023
46495bc
[FIX]14.0-pms_api_rest: format date in refund service
braisab Jul 28, 2023
7cca310
WIP
miguelpadin Aug 7, 2023
3b1fb5d
[IMP] pms-api-rest: add min price to room type service
miguelpadin Aug 8, 2023
3f0ca46
[IMP]pms_api_rest: added get address by display_name service
braisab Jul 20, 2023
b92bdc6
[FIX]pms_api_rest: get invoice with multi folios in list
DarioLodeiros Aug 13, 2023
40c5b41
[ADD]pms_api_rest: POST/PATCH folio payments
DarioLodeiros Aug 13, 2023
d577f71
[ADD]pms_api_rest: add otas parameter in get agency service
DarioLodeiros Aug 14, 2023
33d5c5f
[ADD]pms_api_rest: add transaction in folio POST/PATCH
DarioLodeiros Aug 14, 2023
bd83fb3
[IMP]14.0-pms_api_rest: added residence state name in checkin partner…
braisab Sep 15, 2023
f9808c9
[IMP]pms_api_rest: added check vat service and ref get partner by doc…
braisab Sep 21, 2023
e188fce
[IMP]pms_api_rest: new field code in document types datamodel
braisab Sep 21, 2023
ac7ccdc
[IMP]pms_api_rest: added user language to countries and segmentations
braisab Sep 21, 2023
dc62f68
[IMP]pms_api_rest: if segmentationId equal to 0 it is deleted
braisab Sep 21, 2023
9961606
[FIX] pms-api-rest: fix service av. plan rules & pricelist items with…
miguelpadin Aug 17, 2023
d8aa915
FIX] pms-api-rest: fix post->patch @ service batch changes in av. pla…
miguelpadin Aug 18, 2023
ec00f10
[IMP] pms-api-rest: demo data for property image hotel, icon room typ…
miguelpadin Sep 6, 2023
6b2110c
[IMP] pms-api-rest: add authorImageUrl to folio % reservation message…
miguelpadin Sep 7, 2023
bfc1da0
[REF] pms-api-rest: pms_api_rest_utils manage images from field to url
miguelpadin Sep 8, 2023
9ca8f59
[FIX] pms-api-rest: fix issues @ endpoint routers for create massive …
miguelpadin Oct 9, 2023
963963f
[ADD]pms_api_rest: cash flow by turns
DarioLodeiros Oct 16, 2023
4e62d5c
[ADD] pms_api_rest: add dashboard service
saralb9 Jul 26, 2023
ed58201
[IMP] pms_api_rest: get_reservations in pms_dashboard_service
saralb9 Sep 1, 2023
dc598f6
[IMP] pms_api_rest: get_pending_checkin_reservations & get_pending_ch…
saralb9 Sep 5, 2023
f5b7f59
[IMP] pms_api_rest: improve dashboard_service with sql statements
saralb9 Sep 6, 2023
57220bb
[FIX] pms_api_rest: fix parameters in occupandy sql statement and nam…
saralb9 Sep 7, 2023
4c9d28d
[IMP] pms-api-rest: add userFirstName to login service
miguelpadin Sep 11, 2023
0365b09
[IMP] pms_api_rest: change input_param to receive only one date and a…
saralb9 Sep 20, 2023
6c8b276
[IMP] pms-api-rest: service dashboard state rooms (free/out/oc)
miguelpadin Sep 27, 2023
002a999
[FIX] pms-api-rest: change endpoint state-rooms & fix naming firstnam…
miguelpadin Sep 28, 2023
38ea9c8
[IMP] pms-api-rest: dashboard services for graphs
miguelpadin Oct 9, 2023
c508249
[ADD] pms_api_rest: add rss_post service, datamodel and add feed_rss …
saralb9 Oct 17, 2023
3ddde0c
[FIX]pms_api_rest: message dates in users timezone instead of UTC
braisab Oct 20, 2023
946cb01
[IMP] pms_api_rest: fix login service when user hasn´t firstname
saralb9 Oct 18, 2023
bc62416
[IMP] pms_api_rest: fix last folios service when there aren´t reserva…
saralb9 Oct 18, 2023
7bd5ab4
[IMP]pms_api_rest: reset-password public auth PATCH by POST
DarioLodeiros Oct 26, 2023
c1ae64a
[IMP] pms-api-rest: fix property, feeds, folio & dashboard services 4…
miguelpadin Nov 7, 2023
7ec0f8c
[IMP]14.0-pms_api_rest: domain for transaction type filters
braisab Oct 24, 2023
f938532
[IMP]pms_api_rest: changes in partners, partner invoices and partner …
braisab Oct 10, 2023
7fe5ae2
[IMP]pms_api_rest: added partners housed now, last week and last mont…
braisab Oct 13, 2023
bfb02e3
[FIX]14.0-pms_api_rest: fix pre-commit
braisab Dec 19, 2023
c2bad12
[FIX] pms-api-rest: swap createHour -> createDate @ folio short info …
miguelpadin Dec 20, 2023
689832a
[FIX] pms-api-rest: createHour field @ PmsFolioShortInfo (datamodel)
miguelpadin Dec 22, 2023
4c38291
[FIX]14.0-pms_api_rest: write reservation_vals in reservation service…
braisab Dec 22, 2023
8760317
[FIX]pms_api_rest: model product.template
DarioLodeiros Dec 23, 2023
b103626
[FIX] pms_api_rest: filter last received reservations 'normal' - dash…
miguelpadin Jan 8, 2024
88152f4
[IMP] pms-api-rest: add image url in user service
miguelpadin Jan 8, 2024
8e76713
[IMP]pms_api_rest: compute boardservice default included in pricelist
DarioLodeiros Jan 23, 2024
e102c30
[IMP]pms_api_rest: avoid send innecesary pwd param in tokens payload
DarioLodeiros Jan 26, 2024
e195878
[IMP] pms-api-rest: add field 'createdBy' to folio & reservation service
miguelpadin Feb 6, 2024
39bc23b
[IMP]14.0-pms_api_rest: added new folio filters in get_folios
braisab Feb 5, 2024
b58706f
[IMP] pms-api-rest: adapt services & datamodels (folio, reservation, …
miguelpadin Jan 24, 2024
2c9d00c
[IMP]14.0-pms_api_rest: segmentations are filtered by the is_used_in_…
braisab Dec 26, 2023
7211364
[IMP] pms_api_rest: add reservation wizard state service
saralb9 Oct 30, 2023
09ff1f0
[IMP] pms_api_rest: wizard state service done
saralb9 Nov 10, 2023
7b02ba1
[IMP]14.0-pms_api_rest: added blocked field in reservation datamodel
braisab Feb 2, 2024
f8659c0
[ADD]14.0-pms_ocr_regula: module to connect the OCR regula with the pms
braisab Dec 28, 2023
4fdc315
[IMP]14.0-pms_api_rest: added document fields to get_partners service
braisab Feb 1, 2024
d2af0d5
[FIX] pms-api-rest: list folios including out now
miguelpadin Feb 15, 2024
4fe937a
[IMP] pms-api-rest: add reservation type to folio/x/reservations service
miguelpadin Feb 15, 2024
e838429
[IMP]pms_api_rest: added document support number to get_partners service
braisab Feb 14, 2024
13df6a8
[FIX] pms-api-rest: fix dashboard state rooms service
miguelpadin Feb 22, 2024
a6f2228
[IMP]pms_api_rest: PUT external app search folio by ilike external_re…
DarioLodeiros Feb 21, 2024
a4a7963
[IMP]pms_api_rest: force update avail in channel reservations changes
DarioLodeiros Jan 1, 2024
38f7b2b
[ADD]pms_api_rest: OTA API configurations
DarioLodeiros Dec 31, 2023
510de76
[IMP]pms_api_rest: Improvement in the handling of requests from exter…
DarioLodeiros Feb 25, 2024
b643577
[IMP]pms_api_rest: Add property push methods to pms api clients
DarioLodeiros Feb 25, 2024
c395c95
[ADD]pms_api_rest: PMS API Client conexion data
DarioLodeiros Feb 26, 2024
243eae2
[ADD]pms_api_rest: logs api client model
DarioLodeiros Feb 27, 2024
22daabb
[IMP]pms_api_rest: sql report service sql update
DarioLodeiros Mar 2, 2024
e727d41
[ADD]pms_api_rest: sale_channel_service isOnLine search param
DarioLodeiros Mar 2, 2024
cc501bc
[IMP]pms_api_rest: Rss post imageUrl in service
DarioLodeiros Mar 2, 2024
651af32
[IMP]pms_api_rest: Improvements pms api logs and price night compute …
DarioLodeiros Mar 2, 2024
b0a3324
[FIX] pms-api-rest: fix data/sql_reports.xml (<= - &lt;=) & fix Pasca…
miguelpadin Mar 7, 2024
480a87e
[IMP]pms_api_rest: Improvemente Api rest logs and PUT
DarioLodeiros Mar 16, 2024
0538013
[IMP]pms_api_rest: Imrpovement invoice management, block date and blo…
DarioLodeiros Mar 16, 2024
b4118b6
[FIX]pms_api_rest: attribute inherit in pms.folio
DarioLodeiros Mar 17, 2024
109c2b7
[IMP]14.0-pms_api_rest: added undoOnboard in reservation datamodel
braisab Mar 27, 2024
1d72609
[IMP]14.0-pms_api_rest: origin input data field in checkin partner modal
braisab Mar 22, 2024
d7dbf62
[IMP]14.0-pms_api_rest: document country field added to checkin partn…
braisab Mar 27, 2024
478dec4
[FIX]pms_api_rest: partner service date format parameters
DarioLodeiros Apr 13, 2024
3ee5e62
[ADD]pms_api_rest: service traveller report
DarioLodeiros Apr 13, 2024
b9d07b5
[IMP]14.0-pms_api_rest: documentCountryId field in partner datamodel
braisab Apr 15, 2024
a89d4d6
[IMP]pms_api_rest: Imrpovement API logs, PUT folio service and action…
DarioLodeiros Apr 17, 2024
e24647a
[IMP]pms_api_rest: improvement patch invoice service
DarioLodeiros Apr 17, 2024
3ebebb0
[IMP]pms_api_rest: improvement login token expiration
DarioLodeiros Apr 17, 2024
8bfc7b0
[IMP]pms_api_rest: improve GET partner documment mapping
DarioLodeiros Apr 18, 2024
9120ee6
[IMP]pms_api_rest: improve and fixe in api logs and transactions logic
DarioLodeiros Apr 25, 2024
6576e15
[IMP]pms_api_rest: improvemente compute api transactions and for api …
DarioLodeiros May 12, 2024
f07e6f0
[FIX]pms_api_rest: fix compute amount transactions in normalize_payme…
DarioLodeiros May 13, 2024
47ee692
[FIX]pms_api_rest: fix invoice_ids fields to move_ids
DarioLodeiros May 14, 2024
975c895
[IMP]pms_api_rest: added filter by state overbooking in fetch folios
braisab May 2, 2024
280b240
[IMP]pms_api_rest: force_overbooking in PUT external request
DarioLodeiros May 16, 2024
99ba64c
[IMP]pms_api_rest: fix action_cancel reservation and service name none
DarioLodeiros May 22, 2024
a33d9c2
[IMP]pms_api_rest: added signature field in checkin partner datamodel…
braisab May 24, 2024
14e264a
[IMP]14.0-pms_api_rest: service OCR supplier generic
braisab Apr 11, 2024
637c863
[ADD]pms_ocr_klippa: ADD klippa OCR basic flow
DarioLodeiros Apr 22, 2024
598ccb8
[ADD] nominatim address calls
DarioLodeiros May 4, 2024
226fe5f
[IMP]pms_ocr_klippa: improvement address ocr heuristics
DarioLodeiros May 12, 2024
b38fce9
[IMP]pms_ocr_klippa:change location by requests consult
DarioLodeiros May 13, 2024
5cd6d30
[FIX] pms-api-rest-ocr: fix issue ocr
miguelpadin May 15, 2024
a1e8128
[FIX] pms-api-rest-ocr: fix naming and method return
miguelpadin May 15, 2024
6e8480d
[FIX] pms-api-rest-ocr: fix not overwriting origin input data when ch…
miguelpadin May 16, 2024
9f9d91c
[ADD]pms_ocr_klippa: Add log requests
DarioLodeiros May 16, 2024
b2e3d4a
[IMP]pms_ocr_klippa: improvement log info
DarioLodeiros May 16, 2024
ab3fd49
[IMP]pms_ocr_klippa: improvement mapped data and partial results
DarioLodeiros May 22, 2024
a9adebc
[FIX]pms_api_rest: remove duplicate stateName in property datamodel
braisab May 27, 2024
d5e52d4
[IMP]pms_ocr_klippa: improve lastname and lastname2 heuristic
DarioLodeiros May 28, 2024
177ff1d
[FIX]pms_api_rest: document number check has been changed from docume…
braisab Jun 12, 2024
2334743
[FIX]pms_api_rest: send mail confirmed folio with changed body manual…
DarioLodeiros Jun 16, 2024
ad4418d
[IMP]pms_api_rest: autofix past dates to send api client info
DarioLodeiros Jun 16, 2024
0d008ad
[IMP]pms_ocr_klippa: capture errors to system log
DarioLodeiros Jun 16, 2024
2961118
[ADD]pms_api_rest: take account commission type in OTAs reservation p…
DarioLodeiros Jun 24, 2024
929ca75
[IMP]pms_api_rest: POST and PUT folio partnerRequests
DarioLodeiros Jun 27, 2024
75605a4
[FIX]pms_ocr_klippa: improvement log errors and fix search partner
DarioLodeiros Jun 28, 2024
60724d2
[FIX]pms_api_rest: Fix create folio without agency
DarioLodeiros Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions pms_api_rest/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
============
PMS API REST
============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpms-lightgray.png?logo=github
:target: https://github.com/OCA/pms/tree/14.0/pms_housekeeping
:alt: OCA/pms
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pms-14-0/pms-14-0-pms_housekeeping
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/293/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds an API REST feature to property management system (PMS).

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pms/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pms/issues/new?body=module:%20pms_housekeeping%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Commit [Sun]

Contributors
~~~~~~~~~~~~

* `Commit [Sun] <https://www.commitsun.com>`:

* Sara Lago
* Miguel Padín


Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/pms <https://github.com/OCA/pms/tree/14.0/pms_housekeeping>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions pms_api_rest/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from . import controllers
from . import datamodels
from . import services
from . import models
from . import http
39 changes: 39 additions & 0 deletions pms_api_rest/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "API REST PMS",
"author": "Commit [Sun], Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pms",
"category": "Generic Modules/Property Management System",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"depends": [
"pms",
"base_rest",
"base_rest_datamodel",
"web",
"auth_signup",
"auth_jwt_login",
"base_location",
"l10n_es_aeat",
"sql_export_excel",
"feed_rss",
],
"external_dependencies": {
"python": ["jwt", "simplejson", "marshmallow", "jose"],
},
"data": [
"security/ir.model.access.csv",
"data/sql_reports.xml",
"data/auth_jwt_validator.xml",
"data/pms_app_reset_password_template.xml",
"data/cron_jobs.xml",
"views/pms_property_views.xml",
"views/res_users_views.xml",
"views/pms_room_type_class_views.xml",
"views/product_template_views.xml",
"views/pms_api_log_views.xml",
],
"demo": [
"demo/pms_api_rest_master_data.xml",
],
"installable": True,
}
1 change: 1 addition & 0 deletions pms_api_rest/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import pms_rest
9 changes: 9 additions & 0 deletions pms_api_rest/controllers/pms_rest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from odoo.addons.base_rest.controllers import main


class BaseRestPrivateApiController(main.RestController):
_root_path = "/api/"
_collection_name = "pms.services"
_default_auth = "public"
_default_save_session = False
_default_cors = "*"
14 changes: 14 additions & 0 deletions pms_api_rest/data/auth_jwt_validator.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<odoo>
<record id="demo_validator" model="auth.jwt.validator">
<field name="name">api_pms</field>
<field name="audience">api_pms</field>
<field name="issuer">pms</field>
<field name="signature_type">secret</field>
<field name="secret_algorithm">HS256</field>
<field name="secret_key">pms_secret_key_example</field>
<field name="user_id_strategy">login</field>
<field name="static_user_id">1</field>
<field name="partner_id_strategy">email</field>
<field name="partner_id_required" eval="False" />
</record>
</odoo>
20 changes: 20 additions & 0 deletions pms_api_rest/data/cron_jobs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">

<record model="ir.cron" id="clean_log_pms_api_rest">
<field name="name">Clean Log PMS API REST</field>
<field name="interval_number">1</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False" />
<field name="state">code</field>
<field name="model_id" ref="model_pms_api_log" />
<field
name="nextcall"
eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 06:00:00')"
/>
<field name="code">model.clean_log_data(offset=60)</field>
</record>

</odoo>
147 changes: 147 additions & 0 deletions pms_api_rest/data/pms_app_reset_password_template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="pms_reset_password_email" model="mail.template">
<field name="name">Pms Reset Password</field>
<field name="model_id" ref="base.model_res_users" />
<field name="subject">Restablecer Contraseña</field>
<field
name="email_from"
>"${object.company_id.name | safe}" &lt;${(object.company_id.email or user.email) | safe}&gt;</field>
<field name="email_to">${object.email_formatted | safe}</field>
<field name="body_html" type="html">
<table
border="0"
cellpadding="0"
cellspacing="0"
style=" font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;"
><tr><td align="center">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="590"
style="background-color: white; color: #454748; border-collapse:separate; font-family:Verdana, font-family:Verdana, Arial,sans-serif; box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px; border-radius: 24px"
>
<tbody>
<!-- HEADER -->
<tr>
<td align="center" style="min-width: 590px;">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="590"
height="100"
style="min-width: 590px; background-color: #4BB1E0; color:white; border-collapse:separate; border-radius: 24px 24px 0 0"
>
<tr>
<td valign="middle" align="middle">
<span style="font-size: 24px; font-weight: bold;">
ROOMDOO
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" style="min-width: 590px;">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="590"
style="min-width: 590px; background-color: white; border-collapse:separate;padding: 24px 24px 0 24px; margin-bottom: 24px;"
>
<tr><td valign="middle">
<span style="font-size: 20px; font-weight: bold;">
${object.name}
</span>
</td><td valign="middle" align="right">
<img
src="/logo.png?company=${object.company_id.id}"
style="padding: 0px; margin: 0px; height: auto; width: 80px;"
alt="${object.company_id.name}"
/>
</td></tr>
</table>
</td>
</tr>
<!-- CONTENT -->
<tr>
<td align="center" style="min-width: 590px;">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="590"
style="min-width: 590px; background-color: white; padding: 0px 24px; border-collapse:separate; margin-bottom: 40px"
>
<tr><td valign="top" style="font-size: 13px;">
<div>
A password reset was requested for the Odoo account linked to this email.
You may change your password by following this link which will remain valid during 15 minutes:
<br />
<div style="margin: 32px 0">
<a
href="${ctx.get('app_url')}/reset-password?token=${object.signup_token}"
style="background-color: #4BB1E0; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; border-radius: 5px; font-size:13px;"
>
Reestablecer contraseña
</a>
</div>
If you do not expect this, you can safely ignore this email.<br
/><br />
Thanks,
% if user.signature:
<br />
${user.signature | safe}
% endif
</div>
</td></tr>
</table>
</td>
</tr>
<!-- FOOTER -->
<tr>
<td align="center" style="min-width: 590px;">
<table
border="0"
cellpadding="0"
cellspacing="0"
width="590"
style="border-radius: 0 0 24px 24px;min-width: 590px; background-color: white; font-size: 11px; padding: 0 24px 24px 24px; border-collapse:separate;"
>
<tr><td valign="middle" align="left">
${object.company_id.name}
</td></tr>
<tr><td valign="middle" align="left" style="opacity: 0.7;">
${object.company_id.phone}
% if object.company_id.email
| <a
href="'mailto:%s' % ${object.company_id.email}"
style="text-decoration:none; color: #454748;"
>${object.company_id.email}</a>
% endif
% if object.company_id.website
| <a
href="'%s' % ${object.company_id.website}"
style="text-decoration:none; color: #454748;"
>
${object.company_id.website}
</a>
% endif
</td></tr>
</table>
</td>
</tr>
</tbody>
</table>
</td></tr>

</table>
</field>
<field name="lang">${object.lang}</field>
<field name="auto_delete" eval="True" />
</record>
</odoo>
Loading
Loading