mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] pms: fix precheckin portal with no login
This commit is contained in:
committed by
Darío Lodeiros
parent
eacc0fbed3
commit
b93dcd7731
@@ -358,7 +358,6 @@ class PortalPrecheckin(CustomerPortal):
|
|||||||
"doc_type_ids": doc_type_ids,
|
"doc_type_ids": doc_type_ids,
|
||||||
"folio": folio_sudo,
|
"folio": folio_sudo,
|
||||||
"checkin_partner_id": checkin_partner,
|
"checkin_partner_id": checkin_partner,
|
||||||
"checkin_pos": 0,
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if checkin_partner.state not in ["dummy", "draft"]:
|
if checkin_partner.state not in ["dummy", "draft"]:
|
||||||
|
|||||||
@@ -1068,24 +1068,7 @@
|
|||||||
type="text"
|
type="text"
|
||||||
name="access_token"
|
name="access_token"
|
||||||
t-attf-class="d-none"
|
t-attf-class="d-none"
|
||||||
t-att-value="checkin_partner_id.access_token"
|
t-att-value="folio.access_token"
|
||||||
/>
|
|
||||||
<input
|
|
||||||
name="checkin_partner_id"
|
|
||||||
t-attf-class="d-none"
|
|
||||||
t-att-value="checkin_partner_id.id"
|
|
||||||
/>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
name="checkin_pos"
|
|
||||||
t-attf-class="form-control d-none"
|
|
||||||
value="0"
|
|
||||||
/>
|
|
||||||
<input
|
|
||||||
type="number"
|
|
||||||
name="first"
|
|
||||||
t-attf-class="form-control d-none"
|
|
||||||
value="1"
|
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
|||||||
Reference in New Issue
Block a user