-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #190 from RamakrishnaVellala/17.0-develop
registry changes
- Loading branch information
Showing
67 changed files
with
873 additions
and
831 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
g2p_service_provider_portal_base/README.md → g2p_agent_portal_base/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# G2P Service Provider Portal: Base | ||
# G2P Agent Provider Portal: Base | ||
|
||
Refer to https://docs.openg2p.org. |
1 change: 0 additions & 1 deletion
1
g2p_service_provider_portal_base/__init__.py → g2p_agent_portal_base/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
# Part of OpenG2P. See LICENSE file for full copyright and licensing details. | ||
from . import models | ||
from . import controllers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
...e_provider_portal_base/views/about_us.xml → g2p_agent_portal_base/views/about_us.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,23 +3,20 @@ | |
<!-- TODO: Remove all hardcoding --> | ||
<template | ||
id="base" | ||
name="G2P Service Provider Portal Base" | ||
name="G2P Registration Portal Base" | ||
inherit_id="web.frontend_layout" | ||
priority="900" | ||
primary="True" | ||
> | ||
|
||
<xpath expr="//header" position="replace"> | ||
<link rel="stylesheet" href="/g2p_service_provider_portal_base/static/src/css/portal.css" /> | ||
<link rel="stylesheet" href="/g2p_agent_portal_base/static/src/css/portal.css" /> | ||
<script src="https://cdn.jsdelivr.net/npm/chart.js" /> | ||
<header t-if="not no_header" id="top" data-anchor="true"> | ||
<div class="header-container"> | ||
<div class="nav"> | ||
<a href="/serviceprovider"> | ||
<img | ||
src="/g2p_service_provider_portal_base/static/src/img/[email protected]" | ||
class="main-logo" | ||
/> | ||
<a href="/portal"> | ||
<img src="#" class="main-logo" alt="Official Logo" /> | ||
</a> | ||
<div class="nav-user"> | ||
<div class="search-box"> | ||
|
@@ -54,21 +51,21 @@ | |
<div class="dropdown-menu" aria-labelledby="language-dropdown-button"> | ||
<a | ||
class="dropdown-item" | ||
href="/website/lang/en?r=/serviceprovider" | ||
href="/website/lang/en?r=/portal" | ||
data-url_code="en" | ||
> | ||
<span>English</span> | ||
</a> | ||
<a | ||
class="dropdown-item" | ||
href="/website/lang/fr?r=/serviceprovider" | ||
href="/website/lang/fr?r=/portal" | ||
data-url_code="fr" | ||
> | ||
<span>Français</span> | ||
</a> | ||
<a | ||
class="dropdown-item" | ||
href="/website/lang/tl?r=/serviceprovider" | ||
href="/website/lang/tl?r=/portal" | ||
data-url_code="tl" | ||
> | ||
<span>Filipino</span> | ||
|
@@ -90,12 +87,12 @@ | |
<div class="dropdown-menu user-block"> | ||
<ul style="padding:0px"> | ||
<li> | ||
<a href="/serviceprovider/myprofile" class="link">My Profile</a> | ||
<a href="/portal/myprofile" class="link">My Profile</a> | ||
</li> | ||
<hr /> | ||
<li> | ||
<a | ||
href="/web/session/logout?redirect=/serviceprovider/login" | ||
href="/web/session/logout?redirect=/portal/login" | ||
class="link" | ||
>Logout</a> | ||
</li> | ||
|
@@ -110,7 +107,7 @@ | |
</div> | ||
<script | ||
type="text/javascript" | ||
src="/g2p_service_provider_portal_base/static/src/js/language_selector.js" | ||
src="/g2p_agent_portal_base/static/src/js/language_selector.js" | ||
/> | ||
</header> | ||
</xpath> | ||
|
@@ -119,25 +116,22 @@ | |
<footer t-if="not no_footer" id="bottom" data-anchor="true" t-attf-class="bg-light o_footer"> | ||
<div class="footer-container"> | ||
<div class="nav"> | ||
<a href="/serviceprovider"> | ||
<img | ||
src="/g2p_service_provider_portal_base/static/src/img/[email protected]" | ||
class="main-logo" | ||
/> | ||
<a href="/portal"> | ||
<img src="#" class="main-logo" alt="Official Logo" /> | ||
</a> | ||
<ul class='list-container'> | ||
<li class="nav-item"> | ||
<a | ||
class="nav-link link" | ||
aria-current="page" | ||
href="/serviceprovider/aboutus" | ||
href="/portal/aboutus" | ||
>About Us</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link link" href="/serviceprovider/contactus">Contact Us</a> | ||
<a class="nav-link link" href="/portal/contactus">Contact Us</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link link" href="/serviceprovider/otherpage">Others</a> | ||
<a class="nav-link link" href="/portal/otherpage">Others</a> | ||
</li> | ||
</ul> | ||
|
||
|
12 changes: 5 additions & 7 deletions
12
...provider_portal_base/views/contact_us.xml → g2p_agent_portal_base/views/contact_us.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...rvice_provider_portal_base/views/home.xml → g2p_agent_portal_base/views/home.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 7 additions & 10 deletions
17
...vice_provider_portal_base/views/login.xml → g2p_agent_portal_base/views/login.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<!-- TODO: Remove all hardcoding --> | ||
<template id="login_page" name="G2P Service Provider Login"> | ||
<template id="login_page" name="G2P Registration Portal Login"> | ||
|
||
<t t-call="g2p_service_provider_portal_base.base"> | ||
<t t-call="g2p_agent_portal_base.base"> | ||
<t t-set="no_header" t-value="1" /> | ||
<t t-set="no_footer" t-value="1" /> | ||
<t t-set="body_classname" t-value="'bg-100'" /> | ||
<link rel="stylesheet" href="/g2p_service_provider_portal_base/static/src/css/portal.css" /> | ||
<link rel="stylesheet" href="/g2p_agent_portal_base/static/src/css/portal.css" /> | ||
<div class="ssp-login-body"> | ||
<div class="ssp-login-box"> | ||
<div class="logo-box"> | ||
<img | ||
src="/g2p_service_provider_portal_base/static/src/img/[email protected]" | ||
class="logo" | ||
/> | ||
<img src="#" class="logo" alt="Official Logo" /> | ||
</div> | ||
<form | ||
class="oe_login_form" | ||
role="form" | ||
t-attf-action="/serviceprovider/login" | ||
t-attf-action="/portal/login" | ||
method="post" | ||
onsubmit="this.action = '/serviceprovider/login' + location.hash" | ||
onsubmit="this.action = '/portal/login' + location.hash" | ||
> | ||
<input type="hidden" name="csrf_token" t-att-value="request.csrf_token()" /> | ||
<input type="hidden" name="redirect" value="/serviceprovider/home" /> | ||
<input type="hidden" name="redirect" value="/portal/home" /> | ||
<div class="form-group field-login"> | ||
<label for="login">Email or Phone</label> | ||
<input | ||
|
18 changes: 9 additions & 9 deletions
18
..._provider_portal_base/views/menu_view.xml → g2p_agent_portal_base/views/menu_view.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
<odoo> | ||
<!-- Action Name --> | ||
<record id="account.res_partner_action_supplier" model="ir.actions.act_window"> | ||
<field name="name">Service Provider</field> | ||
</record> | ||
|
||
<!-- Search View --> | ||
<record id="res_partner_view_search_g2p_inherit" model="ir.ui.view"> | ||
<field name="name">res.partner.search.inherit</field> | ||
<record id="res_partner_view_search_g2p_inherits" model="ir.ui.view"> | ||
<field name="name">res.partner.search.inherits</field> | ||
<field name="model">res.partner</field> | ||
<field name="inherit_id" ref="account.res_partner_view_search" /> | ||
<field name="arch" type="xml"> | ||
<filter name="supplier" position="attributes"> | ||
<attribute name="string">Service Provider</attribute> | ||
<attribute name="string">Registration Portal User</attribute> | ||
</filter> | ||
</field> | ||
</record> | ||
|
||
<!-- Action Name --> | ||
<record id="account.res_partner_action_supplier" model="ir.actions.act_window"> | ||
<field name="name">Registration Portal User</field> | ||
</record> | ||
|
||
<menuitem | ||
id="menu_account_supplier" | ||
name="Service Provider" | ||
name="Registration Portal User" | ||
action="account.res_partner_action_supplier" | ||
groups="g2p_registry_base.group_g2p_admin" | ||
sequence="5" | ||
/> | ||
</odoo> |
Oops, something went wrong.