Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
odoo-dev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5c749c42
authored
Dec 06, 2021
by
Kunto Bregananta Adi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
web icon menu
1 parent
ccfe2fe4
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
36 additions
and
10 deletions
id_gov/views/menus.xml
idg_account/views/menus.xml
idg_board/__manifest__.py
idg_board/models/idg_region_tax_actual.py
idg_board/static/description/icon.png
idg_board/static/description/icon.svg
idg_board/views/menus.xml
idg_board/views/region_tax_actual.xml
idg_board/views/region_tax_plan.xml
idg_board/views/region_tax_potency.xml
idg_bphtb/views/menus.xml
idg_pdl_kab/views/menus.xml
id_gov/views/menus.xml
View file @
5c749c4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- Top menu item -->
<!-- Top menu item -->
<menuitem
id=
"id_gov_menu_root"
<menuitem
id=
"id_gov_menu_root"
name=
"Referensi"
name=
"Referensi"
web_icon=
"id_gov
_icon
,static/description/icon.png"
web_icon=
"id_gov,static/description/icon.png"
active=
"True"
active=
"True"
sequence=
"400"
/>
sequence=
"400"
/>
<menuitem
id=
"wilayah_id_gov_menu"
<menuitem
id=
"wilayah_id_gov_menu"
...
...
idg_account/views/menus.xml
View file @
5c749c4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- Top menu item -->
<!-- Top menu item -->
<menuitem
id=
"idgaccnt_menu_root"
<menuitem
id=
"idgaccnt_menu_root"
name=
"IDG Account"
name=
"IDG Account"
web_icon=
"id
_dashboard_icon
,static/description/icon.png"
web_icon=
"id
g_account
,static/description/icon.png"
active=
"True"
active=
"True"
sequence=
"400"
/>
sequence=
"400"
/>
...
...
idg_board/__manifest__.py
View file @
5c749c4
...
@@ -10,7 +10,10 @@ RI Goverment Dashboard
...
@@ -10,7 +10,10 @@ RI Goverment Dashboard
"""
,
"""
,
'category'
:
'Indonesia Goverment'
,
'category'
:
'Indonesia Goverment'
,
'website'
:
'https://opensipkd.com'
,
'website'
:
'https://opensipkd.com'
,
'images'
:
[],
'images'
:
[
'static/description/icon.png'
,
],
'depends'
:
[
'id_gov'
,
'idg_account'
,
'portal'
,
'board'
],
'depends'
:
[
'id_gov'
,
'idg_account'
,
'portal'
,
'board'
],
'data'
:
[
'data'
:
[
# 'security/account_security.xml',
# 'security/account_security.xml',
...
...
idg_board/models/idg_region_tax_actual.py
View file @
5c749c4
...
@@ -11,7 +11,7 @@ from odoo.exceptions import UserError
...
@@ -11,7 +11,7 @@ from odoo.exceptions import UserError
_logger
=
logging
.
getLogger
(
__name__
)
_logger
=
logging
.
getLogger
(
__name__
)
class
IdgRegionTax
Plan
(
models
.
Model
):
class
IdgRegionTax
Actual
(
models
.
Model
):
_name
=
'idg.region.tax.actual'
_name
=
'idg.region.tax.actual'
_description
=
'Region Tax Actual'
_description
=
'Region Tax Actual'
country_id
=
fields
.
Many2one
(
'res.country'
,
required
=
True
)
country_id
=
fields
.
Many2one
(
'res.country'
,
required
=
True
)
...
...
idg_board/static/description/icon.png
View file @
5c749c4
8.9 KB
|
W:
|
H:
8.95 KB
|
W:
|
H:
2-up
Swipe
Onion skin
idg_board/static/description/icon.svg
0 → 100644
View file @
5c749c4
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"70"
height=
"70"
viewBox=
"0 0 70 70"
>
<defs>
<path
id=
"icon-a"
d=
"M4,5.35309892e-14 C36.4160122,9.87060235e-15 58.0836068,-3.97961823e-14 65,5.07020818e-14 C69,6.733808e-14 70,1 70,5 C70,43.0488877 70,62.4235458 70,65 C70,69 69,70 65,70 C61,70 9,70 4,70 C1,70 7.10542736e-15,69 7.10542736e-15,65 C7.25721566e-15,62.4676575 3.83358709e-14,41.8005206 3.60818146e-14,5 C-1.13686838e-13,1 1,5.75716207e-14 4,5.35309892e-14 Z"
/>
<linearGradient
id=
"icon-c"
x1=
"100%"
x2=
"0%"
y1=
"0%"
y2=
"100%"
>
<stop
offset=
"0%"
stop-color=
"#CD7690"
/>
<stop
offset=
"100%"
stop-color=
"#CA5377"
/>
</linearGradient>
<path
id=
"icon-d"
d=
"M18.0450069,57.225 C16.6239398,57.2249541 15.319401,56.4292666 14.6550625,55.1573449 C12.9601701,51.9125391 12,48.2137078 12,44.2875 C12,31.4261695 22.2974514,21 35,21 C47.7025486,21 58,31.4261695 58,44.2875 C58,48.2137078 57.0398299,51.9125391 55.3449375,55.1573449 C54.6806259,56.4292924 53.3760701,57.2249902 51.9549931,57.225 L18.0450069,57.225 Z M52.8888889,41.7 C51.4775035,41.7 50.3333333,42.8584723 50.3333333,44.2875 C50.3333333,45.7165277 51.4775035,46.875 52.8888889,46.875 C54.3002743,46.875 55.4444444,45.7165277 55.4444444,44.2875 C55.4444444,42.8584723 54.3002743,41.7 52.8888889,41.7 Z M35,28.7625 C36.4113854,28.7625 37.5555556,27.6040277 37.5555556,26.175 C37.5555556,24.7459723 36.4113854,23.5875 35,23.5875 C33.5886146,23.5875 32.4444444,24.7459723 32.4444444,26.175 C32.4444444,27.6040277 33.5886146,28.7625 35,28.7625 Z M17.1111111,41.7 C15.6997257,41.7 14.5555556,42.8584723 14.5555556,44.2875 C14.5555556,45.7165277 15.6997257,46.875 17.1111111,46.875 C18.5224965,46.875 19.6666667,45.7165277 19.6666667,44.2875 C19.6666667,42.8584723 18.5224965,41.7 17.1111111,41.7 Z M22.3506389,28.8925219 C20.9392535,28.8925219 19.7950833,30.0509941 19.7950833,31.4800219 C19.7950833,32.9090496 20.9392535,34.0675219 22.3506389,34.0675219 C23.7620243,34.0675219 24.9061944,32.9090496 24.9061944,31.4800219 C24.9061944,30.0509941 23.7620243,28.8925219 22.3506389,28.8925219 Z M47.6493611,28.8925219 C46.2379757,28.8925219 45.0938056,30.0509941 45.0938056,31.4800219 C45.0938056,32.9090496 46.2379757,34.0675219 47.6493611,34.0675219 C49.0607465,34.0675219 50.2049167,32.9090496 50.2049167,31.4800219 C50.2049167,30.0509941 49.0607465,28.8925219 47.6493611,28.8925219 Z M40.6952153,31.4423414 C39.686809,31.1156695 38.6082049,31.6784508 38.285566,32.6992195 L34.6181042,44.3034293 C31.9739028,44.501373 29.8888889,46.7346281 29.8888889,49.4625 C29.8888889,52.3205555 32.1772292,54.6375 35,54.6375 C37.8227708,54.6375 40.1111111,52.3205555 40.1111111,49.4625 C40.1111111,47.8636676 39.3946771,46.434559 38.269434,45.4852699 L41.9365764,33.8821113 C42.2591354,32.8612617 41.7033819,31.7690133 40.6952153,31.4423414 Z"
/>
</defs>
<g
fill=
"none"
fill-rule=
"evenodd"
>
<mask
id=
"icon-b"
fill=
"#fff"
>
<use
xlink:href=
"#icon-a"
/>
</mask>
<g
mask=
"url(#icon-b)"
>
<rect
width=
"70"
height=
"70"
fill=
"url(#icon-c)"
/>
<path
fill=
"#FFF"
fill-opacity=
".383"
d=
"M4,1.8 L65,1.8 C67.6666667,1.8 69.3333333,1.13333333 70,-0.2 C70,2.46666667 70,3.46666667 70,2.8 L1.10547097e-14,2.8 C-1.65952376e-14,3.46666667 -2.9161925e-14,2.46666667 -2.66453526e-14,-0.2 C0.666666667,1.13333333 2,1.8 4,1.8 Z"
transform=
"matrix(1 0 0 -1 0 2.8)"
/>
<path
fill=
"#393939"
d=
"M4,50 C2,50 -7.10542736e-15,49.851312 0,45.8367347 L0,26.3942795 L16.3536575,8.86200565 C29.4512192,-0.488174988 39.6666667,-2.3877551 47,3.16326531 C54.3333333,8.71428571 58,14.9591837 58,21.8979592 C55.8677728,29.7827578 54.7719047,33.7755585 54.7123959,33.8763613 C54.6528871,33.9771642 49.9857922,39.3517104 40.7111111,50 L4,50 Z"
opacity=
".324"
transform=
"translate(0 20)"
/>
<path
fill=
"#000"
fill-opacity=
".383"
d=
"M4,4 L65,4 C67.6666667,4 69.3333333,3 70,1 C70,3.66666667 70,5 70,5 L1.77635684e-15,5 C1.77635684e-15,5 1.77635684e-15,3.66666667 1.77635684e-15,1 C0.666666667,3 2,4 4,4 Z"
transform=
"translate(0 65)"
/>
<use
fill=
"#000"
fill-rule=
"nonzero"
opacity=
".3"
xlink:href=
"#icon-d"
/>
<path
fill=
"#FFF"
fill-rule=
"nonzero"
d=
"M18.0450069,55.225 C16.6239398,55.2249541 15.319401,54.4292666 14.6550625,53.1573449 C12.9601701,49.9125391 12,46.2137078 12,42.2875 C12,29.4261695 22.2974514,19 35,19 C47.7025486,19 58,29.4261695 58,42.2875 C58,46.2137078 57.0398299,49.9125391 55.3449375,53.1573449 C54.6806259,54.4292924 53.3760701,55.2249902 51.9549931,55.225 L18.0450069,55.225 Z M52.8888889,39.7 C51.4775035,39.7 50.3333333,40.8584723 50.3333333,42.2875 C50.3333333,43.7165277 51.4775035,44.875 52.8888889,44.875 C54.3002743,44.875 55.4444444,43.7165277 55.4444444,42.2875 C55.4444444,40.8584723 54.3002743,39.7 52.8888889,39.7 Z M35,26.7625 C36.4113854,26.7625 37.5555556,25.6040277 37.5555556,24.175 C37.5555556,22.7459723 36.4113854,21.5875 35,21.5875 C33.5886146,21.5875 32.4444444,22.7459723 32.4444444,24.175 C32.4444444,25.6040277 33.5886146,26.7625 35,26.7625 Z M17.1111111,39.7 C15.6997257,39.7 14.5555556,40.8584723 14.5555556,42.2875 C14.5555556,43.7165277 15.6997257,44.875 17.1111111,44.875 C18.5224965,44.875 19.6666667,43.7165277 19.6666667,42.2875 C19.6666667,40.8584723 18.5224965,39.7 17.1111111,39.7 Z M22.3506389,26.8925219 C20.9392535,26.8925219 19.7950833,28.0509941 19.7950833,29.4800219 C19.7950833,30.9090496 20.9392535,32.0675219 22.3506389,32.0675219 C23.7620243,32.0675219 24.9061944,30.9090496 24.9061944,29.4800219 C24.9061944,28.0509941 23.7620243,26.8925219 22.3506389,26.8925219 Z M47.6493611,26.8925219 C46.2379757,26.8925219 45.0938056,28.0509941 45.0938056,29.4800219 C45.0938056,30.9090496 46.2379757,32.0675219 47.6493611,32.0675219 C49.0607465,32.0675219 50.2049167,30.9090496 50.2049167,29.4800219 C50.2049167,28.0509941 49.0607465,26.8925219 47.6493611,26.8925219 Z M40.6952153,29.4423414 C39.686809,29.1156695 38.6082049,29.6784508 38.285566,30.6992195 L34.6181042,42.3034293 C31.9739028,42.501373 29.8888889,44.7346281 29.8888889,47.4625 C29.8888889,50.3205555 32.1772292,52.6375 35,52.6375 C37.8227708,52.6375 40.1111111,50.3205555 40.1111111,47.4625 C40.1111111,45.8636676 39.3946771,44.434559 38.269434,43.4852699 L41.9365764,31.8821113 C42.2591354,30.8612617 41.7033819,29.7690133 40.6952153,29.4423414 Z"
/>
</g>
</g>
</svg>
idg_board/views/menus.xml
View file @
5c749c4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- Top menu item -->
<!-- Top menu item -->
<menuitem
id=
"idgd_menu_root"
<menuitem
id=
"idgd_menu_root"
name=
"ID Dashboard"
name=
"ID Dashboard"
web_icon=
"id
_dashboard_icon
,static/description/icon.png"
web_icon=
"id
g_board
,static/description/icon.png"
active=
"True"
active=
"True"
sequence=
"400"
/>
sequence=
"400"
/>
...
...
idg_board/views/region_tax_actual.xml
View file @
5c749c4
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<record
id=
"action_idg_region_tax_actual"
model=
"ir.actions.act_window"
>
<record
id=
"action_idg_region_tax_actual"
model=
"ir.actions.act_window"
>
<field
name=
"name"
>
Region Tax Actual
</field>
<field
name=
"name"
>
Region Tax Actual
</field>
<field
name=
"res_model"
>
idg.region.tax.actual
</field>
<field
name=
"res_model"
>
idg.region.tax.actual
</field>
<field
name=
"view_mode"
>
tree,form
</field>
<field
name=
"view_mode"
>
tree,form
,graph
</field>
<field
name=
"view_id"
ref=
"idg_region_tax_actual_tree"
/>
<field
name=
"view_id"
ref=
"idg_region_tax_actual_tree"
/>
<field
name=
"help"
type=
"html"
>
<field
name=
"help"
type=
"html"
>
<p
class=
"o_view_nocontent_smiling_face"
>
<p
class=
"o_view_nocontent_smiling_face"
>
...
...
idg_board/views/region_tax_plan.xml
View file @
5c749c4
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<record
id=
"action_idg_region_tax_plan"
model=
"ir.actions.act_window"
>
<record
id=
"action_idg_region_tax_plan"
model=
"ir.actions.act_window"
>
<field
name=
"name"
>
Region Tax Planned
</field>
<field
name=
"name"
>
Region Tax Planned
</field>
<field
name=
"res_model"
>
idg.region.tax.plan
</field>
<field
name=
"res_model"
>
idg.region.tax.plan
</field>
<field
name=
"view_mode"
>
tree,form
</field>
<field
name=
"view_mode"
>
tree,form
,graph
</field>
<field
name=
"view_id"
ref=
"idg_region_tax_plan_tree"
/>
<field
name=
"view_id"
ref=
"idg_region_tax_plan_tree"
/>
<field
name=
"help"
type=
"html"
>
<field
name=
"help"
type=
"html"
>
<p
class=
"o_view_nocontent_smiling_face"
>
<p
class=
"o_view_nocontent_smiling_face"
>
...
...
idg_board/views/region_tax_potency.xml
View file @
5c749c4
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<record
id=
"action_idg_region_tax_potency"
model=
"ir.actions.act_window"
>
<record
id=
"action_idg_region_tax_potency"
model=
"ir.actions.act_window"
>
<field
name=
"name"
>
Region Tax Potency
</field>
<field
name=
"name"
>
Region Tax Potency
</field>
<field
name=
"res_model"
>
idg.region.tax.potency
</field>
<field
name=
"res_model"
>
idg.region.tax.potency
</field>
<field
name=
"view_mode"
>
tree,form,
kanban,
graph
</field>
<field
name=
"view_mode"
>
tree,form,graph
</field>
<field
name=
"view_id"
ref=
"idg_region_tax_potency_tree"
/>
<field
name=
"view_id"
ref=
"idg_region_tax_potency_tree"
/>
<field
name=
"help"
type=
"html"
>
<field
name=
"help"
type=
"html"
>
<p
class=
"o_view_nocontent_smiling_face"
>
<p
class=
"o_view_nocontent_smiling_face"
>
...
...
idg_bphtb/views/menus.xml
View file @
5c749c4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- Top menu item -->
<!-- Top menu item -->
<menuitem
id=
"bphtb_menu_root"
<menuitem
id=
"bphtb_menu_root"
name=
"BPHTB"
name=
"BPHTB"
web_icon=
"
bphtb_icon
,static/description/icon.png"
web_icon=
"
idg_bphtb
,static/description/icon.png"
active=
"True"
active=
"True"
sequence=
"400"
/>
sequence=
"400"
/>
...
...
idg_pdl_kab/views/menus.xml
View file @
5c749c4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<!-- Top menu item -->
<!-- Top menu item -->
<menuitem
id=
"idg_pdl_kab_menu_root"
<menuitem
id=
"idg_pdl_kab_menu_root"
name=
"PDL Kab/Kota"
name=
"PDL Kab/Kota"
web_icon=
"idg_pdl_kab
_icon
,static/description/icon.png"
web_icon=
"idg_pdl_kab,static/description/icon.png"
active=
"True"
active=
"True"
sequence=
"400"
/>
sequence=
"400"
/>
<!--Pendataan-->
<!--Pendataan-->
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment