auswertung-tabelle, menü, icon
This commit is contained in:
parent
bab6c88aea
commit
34a3a987fa
13 changed files with 608 additions and 0 deletions
|
@ -2,3 +2,5 @@ syntax: glob
|
||||||
build/*
|
build/*
|
||||||
dist/*
|
dist/*
|
||||||
mds_cashbook_report.egg-info/*
|
mds_cashbook_report.egg-info/*
|
||||||
|
locale/convert_de2en.py
|
||||||
|
__pycache__/*
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
# full copyright notices and license terms.
|
# full copyright notices and license terms.
|
||||||
|
|
||||||
from trytond.pool import Pool
|
from trytond.pool import Pool
|
||||||
|
from .evaluation import Evaluation
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
Pool.register(
|
Pool.register(
|
||||||
|
Evaluation,
|
||||||
module='cashbook_report', type_='model')
|
module='cashbook_report', type_='model')
|
||||||
|
|
141
colors.py
Normal file
141
colors.py
Normal file
|
@ -0,0 +1,141 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# This file is part of the diagram-module from m-ds for Tryton.
|
||||||
|
# The COPYRIGHT file at the top level of this repository contains the
|
||||||
|
# full copyright notices and license terms.
|
||||||
|
|
||||||
|
sel_color = [
|
||||||
|
('default', 'Default'),
|
||||||
|
("#000000", "Black"),
|
||||||
|
("#111111", "Gray - Dark 4"),
|
||||||
|
('#1c1c1c', 'Gray - Dark 3'),
|
||||||
|
('#333333', 'Gray - Dark 2'),
|
||||||
|
('#666666', 'Gray - Dark 1'),
|
||||||
|
('#808080', 'Gray'),
|
||||||
|
('#999999', 'Gray - Light 1'),
|
||||||
|
('#b2b2b2', 'Gray - Light 2'),
|
||||||
|
('#cccccc', 'Gray - Light 3'),
|
||||||
|
('#dddddd', 'Gray - Light 4'),
|
||||||
|
('#eeeeee', 'Gray - Light 5'),
|
||||||
|
('#ffffff', 'White'),
|
||||||
|
|
||||||
|
('#fff200', 'Yellow'),
|
||||||
|
('#ffffc0', 'Yellow - Light 5'),
|
||||||
|
('#fffbcc', 'Yellow - Light 4'),
|
||||||
|
('#FFF9AE', 'Yellow - Light 3'),
|
||||||
|
('#fff685', 'Yellow - Light 2'),
|
||||||
|
('#fff450', 'Yellow - Light 1'),
|
||||||
|
('#e3d200', 'Yellow - Dark 1'),
|
||||||
|
('#ccbe00', 'Yellow - Dark 2'),
|
||||||
|
('#a09600', 'Yellow - Dark 3'),
|
||||||
|
('#6b6400', 'Yellow - Dark 4'),
|
||||||
|
|
||||||
|
('#faa61a', 'Gold'),
|
||||||
|
('#ffe5ca', 'Gold - Light 4'),
|
||||||
|
('#ffdaa2', 'Gold - Light 3'),
|
||||||
|
('#fdc578', 'Gold - Light 2'),
|
||||||
|
('#fdb94d', 'Gold - Light 1'),
|
||||||
|
('#d99116', 'Gold - Dark 1'),
|
||||||
|
('#c38312', 'Gold - Dark 2'),
|
||||||
|
('#9a6704', 'Gold - Dark 3'),
|
||||||
|
('#684703', 'Gold - Dark 4'),
|
||||||
|
|
||||||
|
('#f58220', 'Orange'),
|
||||||
|
('#fedcc6', 'Orange - Light 4'),
|
||||||
|
('#fcc79b', 'Orange - Light 3'),
|
||||||
|
('#f9a870', 'Orange - Light 2'),
|
||||||
|
('#f79448', 'Orange - Light 1'),
|
||||||
|
('#d4711a', 'Orange - Dark 1'),
|
||||||
|
('#c06616', 'Orange - Dark 2'),
|
||||||
|
('#985006', 'Orange - Dark 3'),
|
||||||
|
('#673604', 'Orange - Dark 4'),
|
||||||
|
|
||||||
|
('#ef413d', 'Brick'),
|
||||||
|
('#fcd3c1', 'Brick - Light 4'),
|
||||||
|
('#f8aa97', 'Brick - Light 3'),
|
||||||
|
('#f68e76', 'Brick - Light 2'),
|
||||||
|
('#f3715a', 'Brick - Light 1'),
|
||||||
|
('#cf3834', 'Brick - Dark 1'),
|
||||||
|
('#bc312e', 'Brick - Dark 2'),
|
||||||
|
('#95231f', 'Brick - Dark 3'),
|
||||||
|
('#6a1816', 'Brick - Dark 4'),
|
||||||
|
|
||||||
|
('#ed1c24', 'Red'),
|
||||||
|
('#fcd4d1', 'Red - Light 4'),
|
||||||
|
('#f7a19a', 'Red - Light 3'),
|
||||||
|
('#f37b70', 'Red - Light 2'),
|
||||||
|
('#f04e4d', 'Red - Light 1'),
|
||||||
|
('#ce181e', 'Red - Dark 1'),
|
||||||
|
('#ba131a', 'Red - Dark 2'),
|
||||||
|
('#94070a', 'Red - Dark 3'),
|
||||||
|
('#610506', 'Red - Dark 4'),
|
||||||
|
|
||||||
|
('#a3238e', 'Violet'),
|
||||||
|
('#dfcce4', 'Violet - Light 4'),
|
||||||
|
('#c7a0cb', 'Violet - Light 3'),
|
||||||
|
('#bd7cb5', 'Violet - Light 2'),
|
||||||
|
('#aa55a1', 'Violet - Light 1'),
|
||||||
|
('#8f187c', 'Violet - Dark 1'),
|
||||||
|
('#820f71', 'Violet - Dark 2'),
|
||||||
|
('#680059', 'Violet - Dark 3'),
|
||||||
|
('#33002b', 'Violet - Dark 4'),
|
||||||
|
|
||||||
|
('#5c2d91', 'Purple'),
|
||||||
|
('#bcaed5', 'Purple - Light 4'),
|
||||||
|
('#9d85be', 'Purple - Light 3'),
|
||||||
|
('#826aaf', 'Purple - Light 2'),
|
||||||
|
('#74489d', 'Purple - Light 1'),
|
||||||
|
('#512480', 'Purple - Dark 1'),
|
||||||
|
('#491d74', 'Purple - Dark 2'),
|
||||||
|
('#390a5d', 'Purple - Dark 3'),
|
||||||
|
('#1c052e', 'Purple - Dark 4'),
|
||||||
|
|
||||||
|
('#21409a', 'Indigo'),
|
||||||
|
('#454fa1', 'Indigo - Light 1'),
|
||||||
|
('#5565af', 'Indigo - Light 2'),
|
||||||
|
('#7477b8', 'Indigo - Light 3'),
|
||||||
|
('#8f93c7', 'Indigo - Light 4'),
|
||||||
|
('#1c3687', 'Indigo - Dark 1'),
|
||||||
|
('#182f7c', 'Indigo - Dark 2'),
|
||||||
|
('#0d1f63', 'Indigo - Dark 3'),
|
||||||
|
('#071136', 'Indigo - Dark 4'),
|
||||||
|
|
||||||
|
('#0066b3', 'Blue'),
|
||||||
|
('#adc5e7', 'Blue - Light 4'),
|
||||||
|
('#7da7d8', 'Blue - Light 3'),
|
||||||
|
('#5e8ac7', 'Blue - Light 2'),
|
||||||
|
('#1b75bc', 'Blue - Light 1'),
|
||||||
|
('#00599d', 'Blue - Dark 1'),
|
||||||
|
('#00508f', 'Blue - Dark 2'),
|
||||||
|
('#003d73', 'Blue - Dark 3'),
|
||||||
|
('#002342', 'Blue - Dark 4'),
|
||||||
|
|
||||||
|
('#00aaad', 'Teal'),
|
||||||
|
('#bce4e5', 'Teal - Light 4'),
|
||||||
|
('#87d1d1', 'Teal - Light 3'),
|
||||||
|
('#59c5c7', 'Teal - Light 2'),
|
||||||
|
('#00b6bd', 'Teal - Light 1'),
|
||||||
|
('#009598', 'Teal - Dark 1'),
|
||||||
|
('#00888a', 'Teal - Dark 2'),
|
||||||
|
('#006d6f', 'Teal - Dark 3'),
|
||||||
|
('#003c3d', 'Teal - Dark 4'),
|
||||||
|
|
||||||
|
('#00a65d', 'Green'),
|
||||||
|
('#bee3d3', 'Green - Light 4'),
|
||||||
|
('#8ccfb7', 'Green - Light 3'),
|
||||||
|
('#65c295', 'Green - Light 2'),
|
||||||
|
('#00b274', 'Green - Light 1'),
|
||||||
|
('#009353', 'Green - Dark 1'),
|
||||||
|
('#00864b', 'Green - Dark 2'),
|
||||||
|
('#006c3b', 'Green - Dark 3'),
|
||||||
|
('#00381f', 'Green - Dark 4'),
|
||||||
|
|
||||||
|
('#72bf44', 'Lime'),
|
||||||
|
('#e0efd4', 'Lime - Light 4'),
|
||||||
|
('#c2e0ae', 'Lime - Light 3'),
|
||||||
|
('#add58a', 'Lime - Light 2'),
|
||||||
|
('#89c765', 'Lime - Light 1'),
|
||||||
|
('#62a73b', 'Lime - Dark 1'),
|
||||||
|
('#579835', 'Lime - Dark 2'),
|
||||||
|
('#407927', 'Lime - Dark 3'),
|
||||||
|
('#2b511a', 'Lime - Dark 4'),
|
||||||
|
]
|
91
evaluation.py
Normal file
91
evaluation.py
Normal file
|
@ -0,0 +1,91 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# This file is part of the cashbook-module from m-ds for Tryton.
|
||||||
|
# The COPYRIGHT file at the top level of this repository contains the
|
||||||
|
# full copyright notices and license terms.
|
||||||
|
|
||||||
|
from trytond.model import ModelView, ModelSQL, fields, Check
|
||||||
|
from trytond.pyson import Eval, Or, Bool, Id, Len
|
||||||
|
from trytond.transaction import Transaction
|
||||||
|
from .colors import sel_color as sel_bgcolor
|
||||||
|
|
||||||
|
|
||||||
|
sel_etype = [
|
||||||
|
('book', 'Cashbooks'),
|
||||||
|
('type', 'Types of Cashbooks'),
|
||||||
|
('currency', 'Currencys'),
|
||||||
|
]
|
||||||
|
|
||||||
|
sel_chart = [
|
||||||
|
('vbar', 'Vertical Bars'),
|
||||||
|
('hbar', 'Horizontal Bars'),
|
||||||
|
('pie', 'Pie'),
|
||||||
|
('line', 'Line'),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
sel_maincolor = [
|
||||||
|
('default', 'Default'),
|
||||||
|
('red', 'Red'),
|
||||||
|
('green', 'Green'),
|
||||||
|
('grey', 'Grey'),
|
||||||
|
('black', 'Black'),
|
||||||
|
('darkcyan', 'Dark Cyan'),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
class Evaluation(ModelSQL, ModelView):
|
||||||
|
'Evaluation'
|
||||||
|
__name__ = 'cashbook_report.evaluation'
|
||||||
|
|
||||||
|
company = fields.Many2One(string='Company', model_name='company.company',
|
||||||
|
required=True, ondelete="RESTRICT")
|
||||||
|
name = fields.Char(string='Name', required=True)
|
||||||
|
dtype = fields.Selection(string='Data type', required=True,
|
||||||
|
sort=False, selection=sel_etype,
|
||||||
|
help='Type of data displayed')
|
||||||
|
chart = fields.Selection(string='Chart type', required=True,
|
||||||
|
sort=False, selection=sel_chart,
|
||||||
|
help='Type of graphical presentation.')
|
||||||
|
legend = fields.Boolean(string='Legend')
|
||||||
|
maincolor = fields.Selection(string='Color scheme', required=True,
|
||||||
|
help='The color scheme determines the hue of all components of the chart.',
|
||||||
|
selection=sel_maincolor, sort=False)
|
||||||
|
bgcolor = fields.Selection(string='Background Color', required=True,
|
||||||
|
help='Background color of the chart area.', sort=False,
|
||||||
|
selection=sel_bgcolor)
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def default_company():
|
||||||
|
return Transaction().context.get('company') or None
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def default_bgcolor(cls):
|
||||||
|
""" default: Yellow 5
|
||||||
|
"""
|
||||||
|
return '#ffffc0'
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def default_maincolor(cls):
|
||||||
|
""" default: 'default'
|
||||||
|
"""
|
||||||
|
return 'default'
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def default_legend(cls):
|
||||||
|
""" default True
|
||||||
|
"""
|
||||||
|
return True
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def default_etype(cls):
|
||||||
|
""" default 'book'
|
||||||
|
"""
|
||||||
|
return 'book'
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def default_chart(cls):
|
||||||
|
""" default 'pir'
|
||||||
|
"""
|
||||||
|
return 'pie'
|
||||||
|
|
||||||
|
# end Evaluation
|
122
evaluation.xml
Normal file
122
evaluation.xml
Normal file
|
@ -0,0 +1,122 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- This file is part of the cashbook-module from m-ds for Tryton.
|
||||||
|
The COPYRIGHT file at the top level of this repository contains the
|
||||||
|
full copyright notices and license terms. -->
|
||||||
|
<tryton>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<!-- views -->
|
||||||
|
<record model="ir.ui.view" id="evaluation_view_list">
|
||||||
|
<field name="model">cashbook_report.evaluation</field>
|
||||||
|
<field name="type">tree</field>
|
||||||
|
<field name="priority" eval="10"/>
|
||||||
|
<field name="name">evaluation_list</field>
|
||||||
|
</record>
|
||||||
|
<record model="ir.ui.view" id="evaluation_view_form">
|
||||||
|
<field name="model">cashbook_report.evaluation</field>
|
||||||
|
<field name="type">form</field>
|
||||||
|
<field name="priority" eval="20"/>
|
||||||
|
<field name="name">evaluation_form</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- action view - list -->
|
||||||
|
<record model="ir.action.act_window" id="act_evaluation_view">
|
||||||
|
<field name="name">Evaluation</field>
|
||||||
|
<field name="res_model">cashbook_report.evaluation</field>
|
||||||
|
</record>
|
||||||
|
<record model="ir.action.act_window.view" id="act_evaluation_view-1">
|
||||||
|
<field name="sequence" eval="10"/>
|
||||||
|
<field name="view" ref="evaluation_view_list"/>
|
||||||
|
<field name="act_window" ref="act_evaluation_view"/>
|
||||||
|
</record>
|
||||||
|
<record model="ir.action.act_window.view" id="act_evaluation_view-2">
|
||||||
|
<field name="sequence" eval="20"/>
|
||||||
|
<field name="view" ref="evaluation_view_form"/>
|
||||||
|
<field name="act_window" ref="act_evaluation_view"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- permission -->
|
||||||
|
<!-- anon: deny all -->
|
||||||
|
<record model="ir.model.access" id="access_eval-anon">
|
||||||
|
<field name="model" search="[('model', '=', 'cashbook_report.evaluation')]"/>
|
||||||
|
<field name="perm_read" eval="False"/>
|
||||||
|
<field name="perm_write" eval="False"/>
|
||||||
|
<field name="perm_create" eval="False"/>
|
||||||
|
<field name="perm_delete" eval="False"/>
|
||||||
|
</record>
|
||||||
|
<!-- group_cashbook_admin: read/write -->
|
||||||
|
<record model="ir.model.access" id="access_eval-group_cashbook_admin">
|
||||||
|
<field name="model" search="[('model', '=', 'cashbook_report.evaluation')]"/>
|
||||||
|
<field name="group" ref="cashbook.group_cashbook_admin"/>
|
||||||
|
<field name="perm_read" eval="True"/>
|
||||||
|
<field name="perm_write" eval="True"/>
|
||||||
|
<field name="perm_create" eval="True"/>
|
||||||
|
<field name="perm_delete" eval="True"/>
|
||||||
|
</record>
|
||||||
|
<!-- cashbook: read/write -->
|
||||||
|
<record model="ir.model.access" id="access_eval-group_cashbook">
|
||||||
|
<field name="model" search="[('model', '=', 'cashbook_report.evaluation')]"/>
|
||||||
|
<field name="group" ref="cashbook.group_cashbook"/>
|
||||||
|
<field name="perm_read" eval="True"/>
|
||||||
|
<field name="perm_write" eval="True"/>
|
||||||
|
<field name="perm_create" eval="True"/>
|
||||||
|
<field name="perm_delete" eval="True"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- permission by rule - admin -->
|
||||||
|
<record model="ir.rule.group" id="rg_eval_write_adm">
|
||||||
|
<field name="model" search="[('model', '=', 'cashbook_report.evaluation')]"/>
|
||||||
|
<field name="name">Administrators: Evaluation read/write</field>
|
||||||
|
<field name="global_p" eval="False"/>
|
||||||
|
<field name="default_p" eval="False"/>
|
||||||
|
<field name="perm_read" eval="True"/>
|
||||||
|
<field name="perm_write" eval="True"/>
|
||||||
|
<field name="perm_create" eval="True"/>
|
||||||
|
<field name="perm_delete" eval="True"/>
|
||||||
|
</record>
|
||||||
|
<record model="ir.rule" id="rg_eval_write_adm-1">
|
||||||
|
<field name="domain" eval="[]" pyson="1"/>
|
||||||
|
<field name="rule_group" ref="rg_eval_write_adm"/>
|
||||||
|
</record>
|
||||||
|
<record model="ir.rule.group-res.group" id="rg_eval_write_adm-group_cashbook_admin">
|
||||||
|
<field name="rule_group" ref="rg_eval_write_adm"/>
|
||||||
|
<field name="group" ref="cashbook.group_cashbook_admin"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<!-- permission by rule - read/write: owner -->
|
||||||
|
<record model="ir.rule.group" id="rg_eval_rw_owner">
|
||||||
|
<field name="model" search="[('model', '=', 'cashbook_report.evaluation')]"/>
|
||||||
|
<field name="name">Owners: Evaluation read/write</field>
|
||||||
|
<field name="global_p" eval="False"/>
|
||||||
|
<field name="default_p" eval="False"/>
|
||||||
|
<field name="perm_read" eval="True"/>
|
||||||
|
<field name="perm_write" eval="True"/>
|
||||||
|
<field name="perm_create" eval="True"/>
|
||||||
|
<field name="perm_delete" eval="True"/>
|
||||||
|
</record>
|
||||||
|
<record model="ir.rule" id="rg_eval_rw_owner-1">
|
||||||
|
<field name="domain" eval="[
|
||||||
|
('create_uid', '=', Eval('user', {}).get('id', -1)),
|
||||||
|
]" pyson="1"/>
|
||||||
|
<field name="rule_group" ref="rg_eval_rw_owner"/>
|
||||||
|
</record>
|
||||||
|
<record model="ir.rule.group-res.group" id="rg_eval_rw_owner-group_cashbook">
|
||||||
|
<field name="rule_group" ref="rg_eval_rw_owner"/>
|
||||||
|
<field name="group" ref="cashbook.group_cashbook"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record model="ir.rule.group" id="rg_eval_companies">
|
||||||
|
<field name="name">User in companies</field>
|
||||||
|
<field name="model"
|
||||||
|
search="[('model', '=', 'cashbook_report.evaluation')]"/>
|
||||||
|
<field name="global_p" eval="True"/>
|
||||||
|
</record>
|
||||||
|
<record model="ir.rule" id="r_eval_companies">
|
||||||
|
<field name="domain"
|
||||||
|
eval="[('company', 'in', Eval('companies', []))]"
|
||||||
|
pyson="1"/>
|
||||||
|
<field name="rule_group" ref="rg_eval_companies"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</tryton>
|
14
icon.xml
Normal file
14
icon.xml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- This file is part of the cashbook-module from m-ds for Tryton.
|
||||||
|
The COPYRIGHT file at the top level of this repository contains the
|
||||||
|
full copyright notices and license terms. -->
|
||||||
|
<tryton>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<record model="ir.ui.icon" id="piechart_icon">
|
||||||
|
<field name="name">mds-pie-chart</field>
|
||||||
|
<field name="path">icon/piechart.svg</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</tryton>
|
32
icon/piechart.svg
Normal file
32
icon/piechart.svg
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" id="svg2" sodipodi:docname="_svgclean2.svg" viewBox="0 0 326.92 330.76" version="1.1" inkscape:version="0.48.3.1 r9886">
|
||||||
|
<sodipodi:namedview id="base" bordercolor="#666666" inkscape:pageshadow="2" inkscape:window-y="0" pagecolor="#ffffff" inkscape:window-maximized="0" inkscape:zoom="0.52073327" inkscape:window-x="0" inkscape:window-height="645" showgrid="false" borderopacity="1.0" inkscape:current-layer="layer1" inkscape:cx="-149.55582" inkscape:cy="165.38383" inkscape:window-width="674" inkscape:pageopacity="0.0" inkscape:document-units="px"/>
|
||||||
|
<g id="layer1" inkscape:label="Capa 1" inkscape:groupmode="layer" transform="translate(-208.58 -360.8)">
|
||||||
|
<g id="g3809" inkscape:export-ydpi="90" inkscape:export-xdpi="90">
|
||||||
|
<path id="path2985" sodipodi:rx="161.31099" sodipodi:ry="163.23135" style="stroke:#000000;stroke-width:4.3;stroke-opacity:.55080;fill:#0197fd" sodipodi:type="arc" d="m389.83 174.75c0 90.15-72.221 163.23-161.31 163.23-89.09 0-161.31-73.081-161.31-163.23 0-90.15 72.221-163.23 161.31-163.23 89.09 0 161.31 73.081 161.31 163.23z" transform="translate(143.52,351.43)" sodipodi:cy="174.75357" sodipodi:cx="228.52391"/>
|
||||||
|
<path id="path2985-4" sodipodi:rx="161.31099" sodipodi:ry="163.23135" style="stroke:#000000;stroke-width:4.3;stroke-opacity:.55080;fill:#f3ff00" sodipodi:type="arc" d="m389.83 174.75c0 90.15-72.221 163.23-161.31 163.23-89.09 0-161.31-73.081-161.31-163.23 0-90.15 72.221-163.23 161.31-163.23 12.339 0 24.638 1.4327 36.655 4.27l-36.65 158.96z" transform="translate(143.52,351.43)" sodipodi:cy="174.75357" sodipodi:cx="228.52391" sodipodi:end="4.9416218" sodipodi:start="0"/>
|
||||||
|
<path id="path2985-7" sodipodi:rx="161.31099" sodipodi:ry="163.23135" style="stroke:#000000;stroke-width:4.3;stroke-opacity:.55080;fill:#ff0000" sodipodi:type="arc" d="m389.83 174.75c0 90.15-72.221 163.23-161.31 163.23-89.09 0-161.31-73.081-161.31-163.23 0-18.33 3.0511-36.529 9.0253-53.834l152.29 53.834z" transform="translate(143.52,351.43)" sodipodi:cy="174.75357" sodipodi:cx="228.52391" sodipodi:end="3.4776855" sodipodi:start="0"/>
|
||||||
|
<path id="path2985-1" sodipodi:rx="161.31099" sodipodi:ry="163.23135" style="stroke:#000000;stroke-width:4.3;stroke-opacity:.55080;fill:#019700" sodipodi:type="arc" d="m389.83 174.75c0 90.15-72.221 163.23-161.31 163.23-49.766 0-96.747-23.244-127.31-62.988l127.31-100.24z" transform="translate(143.52,351.43)" sodipodi:cy="174.75357" sodipodi:cx="228.52391" sodipodi:end="2.4803257" sodipodi:start="0"/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<metadata id="metadata10">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work>
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||||
|
<cc:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/>
|
||||||
|
<dc:publisher>
|
||||||
|
<cc:Agent rdf:about="http://openclipart.org/">
|
||||||
|
<dc:title>Openclipart</dc:title>
|
||||||
|
</cc:Agent>
|
||||||
|
</dc:publisher>
|
||||||
|
</cc:Work>
|
||||||
|
<cc:License rdf:about="http://creativecommons.org/licenses/publicdomain/">
|
||||||
|
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/>
|
||||||
|
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/>
|
||||||
|
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/>
|
||||||
|
</cc:License>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.7 KiB |
131
locale/de.po
Normal file
131
locale/de.po
Normal file
|
@ -0,0 +1,131 @@
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
|
||||||
|
|
||||||
|
#################
|
||||||
|
# ir.rule.group #
|
||||||
|
#################
|
||||||
|
msgctxt "model:ir.rule.group,name:rg_eval_write_adm"
|
||||||
|
msgid "Administrators: Evaluation read/write"
|
||||||
|
msgstr "Administratoren: Auswertung schreiben"
|
||||||
|
|
||||||
|
msgctxt "model:ir.rule.group,name:rg_eval_rw_owner"
|
||||||
|
msgid "Owners: Evaluation read/write"
|
||||||
|
msgstr "Eigentümer: Auswertung schreiben"
|
||||||
|
|
||||||
|
msgctxt "model:ir.rule.group,name:rg_eval_companies"
|
||||||
|
msgid "User in companies"
|
||||||
|
msgstr "Benutzer im Unternehmen"
|
||||||
|
|
||||||
|
|
||||||
|
##############
|
||||||
|
# ir.ui.menu #
|
||||||
|
##############
|
||||||
|
msgctxt "model:ir.ui.menu,name:menu_evaluation"
|
||||||
|
msgid "Evaluation"
|
||||||
|
msgstr "Auswertung"
|
||||||
|
|
||||||
|
|
||||||
|
##############################
|
||||||
|
# cashbook_report.evaluation #
|
||||||
|
##############################
|
||||||
|
msgctxt "model:cashbook_report.evaluation,name:"
|
||||||
|
msgid "Evaluation"
|
||||||
|
msgstr "Auswertung"
|
||||||
|
|
||||||
|
msgctxt "view:cashbook_report.evaluation:"
|
||||||
|
msgid "Representation"
|
||||||
|
msgstr "Darstellung"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,name:"
|
||||||
|
msgid "Name"
|
||||||
|
msgstr "Name"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,dtype:"
|
||||||
|
msgid "Data type"
|
||||||
|
msgstr "Datenart"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,dtype:"
|
||||||
|
msgid "Cashbooks"
|
||||||
|
msgstr "Kassenbücher"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,dtype:"
|
||||||
|
msgid "Types of Cashbooks"
|
||||||
|
msgstr "Typen von Kassenbüchern"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,dtype:"
|
||||||
|
msgid "Currencys"
|
||||||
|
msgstr "Währungen"
|
||||||
|
|
||||||
|
msgctxt "help:cashbook_report.evaluation,dtype:"
|
||||||
|
msgid "Type of data displayed"
|
||||||
|
msgstr "Art der dargestellten Daten"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,chart:"
|
||||||
|
msgid "Chart type"
|
||||||
|
msgstr "Diagrammtyp"
|
||||||
|
|
||||||
|
msgctxt "help:cashbook_report.evaluation,chart:"
|
||||||
|
msgid "Type of graphical presentation."
|
||||||
|
msgstr "Art der grafischen Darstellung."
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,chart:"
|
||||||
|
msgid "Pie"
|
||||||
|
msgstr "Torte"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,chart:"
|
||||||
|
msgid "Line"
|
||||||
|
msgstr "Linie"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,chart:"
|
||||||
|
msgid "Vertical Bars"
|
||||||
|
msgstr "Senkrechte Balken"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,chart:"
|
||||||
|
msgid "Horizontal Bars"
|
||||||
|
msgstr "waagerechte Balken"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,legend:"
|
||||||
|
msgid "Legend"
|
||||||
|
msgstr "Legende"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "Color scheme"
|
||||||
|
msgstr "Farbschema"
|
||||||
|
|
||||||
|
msgctxt "help:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "The color scheme determines the hue of all components of the chart."
|
||||||
|
msgstr "Das Farbschema bestimmt den Farbton aller Komponenten des Diagramms."
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "Default"
|
||||||
|
msgstr "Standard"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "Red"
|
||||||
|
msgstr "Rot"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "Green"
|
||||||
|
msgstr "Grün"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "Grey"
|
||||||
|
msgstr "Grau"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "Black"
|
||||||
|
msgstr "Schwarz"
|
||||||
|
|
||||||
|
msgctxt "selection:cashbook_report.evaluation,maincolor:"
|
||||||
|
msgid "Dark Cyan"
|
||||||
|
msgstr "Dunkel Cyan"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,bgcolor:"
|
||||||
|
msgid "Background Color"
|
||||||
|
msgstr "Hintergrundfarbe"
|
||||||
|
|
||||||
|
msgctxt "help:cashbook_report.evaluation,bgcolor:"
|
||||||
|
msgid "Background color of the chart area. (hex number, e.g. #ffffc0)"
|
||||||
|
msgstr "Hintergrundfarbe der Diagrammfläche. (Hexzahl, z.B. #ffffc0)"
|
16
locale/en.po
Normal file
16
locale/en.po
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr "Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
|
||||||
|
msgctxt "model:cashbook_report.evaluation,name:"
|
||||||
|
msgid "Evaluation"
|
||||||
|
msgstr "Evaluation"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,name:"
|
||||||
|
msgid "Name"
|
||||||
|
msgstr "Name"
|
||||||
|
|
||||||
|
msgctxt "field:cashbook_report.evaluation,dtype:"
|
||||||
|
msgid "Data type"
|
||||||
|
msgstr "Data type"
|
||||||
|
|
23
menu.xml
Normal file
23
menu.xml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- This file is part of the cashbook-module from m-ds for Tryton.
|
||||||
|
The COPYRIGHT file at the top level of this repository contains the
|
||||||
|
full copyright notices and license terms. -->
|
||||||
|
<tryton>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
<!-- menu: /Cashbook/Evaluation -->
|
||||||
|
<menuitem id="menu_evaluation" action="act_evaluation_view"
|
||||||
|
icon="mds-pie-chart"
|
||||||
|
parent="cashbook.menu_cashbook" sequence="50"/>
|
||||||
|
|
||||||
|
<record model="ir.ui.menu-res.group" id="menu_evaluation-group_cashbook">
|
||||||
|
<field name="menu" ref="menu_evaluation"/>
|
||||||
|
<field name="group" ref="cashbook.group_cashbook"/>
|
||||||
|
</record>
|
||||||
|
<record model="ir.ui.menu-res.group" id="menu_evaluation-group_cashbook_admin">
|
||||||
|
<field name="menu" ref="menu_evaluation"/>
|
||||||
|
<field name="group" ref="cashbook.group_cashbook_admin"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</tryton>
|
|
@ -3,3 +3,6 @@ version=6.0.0
|
||||||
depends:
|
depends:
|
||||||
cashbook
|
cashbook
|
||||||
xml:
|
xml:
|
||||||
|
icon.xml
|
||||||
|
evaluation.xml
|
||||||
|
menu.xml
|
||||||
|
|
20
view/evaluation_form.xml
Normal file
20
view/evaluation_form.xml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- This file is part of the cashbook-module from m-ds for Tryton.
|
||||||
|
The COPYRIGHT file at the top level of this repository contains the
|
||||||
|
full copyright notices and license terms. -->
|
||||||
|
<form col="6">
|
||||||
|
<label name="name"/>
|
||||||
|
<field name="name"/>
|
||||||
|
<label name="dtype"/>
|
||||||
|
<field name="dtype"/>
|
||||||
|
<newline/>
|
||||||
|
|
||||||
|
<separator colspan="6" id="sepdisplay" string="Representation"/>
|
||||||
|
<label name="chart"/>
|
||||||
|
<field name="chart"/>
|
||||||
|
<label name="maincolor"/>
|
||||||
|
<field name="maincolor"/>
|
||||||
|
<label name="legend"/>
|
||||||
|
<field name="legend"/>
|
||||||
|
|
||||||
|
</form>
|
11
view/evaluation_list.xml
Normal file
11
view/evaluation_list.xml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- This file is part of the cashbook-module from m-ds for Tryton.
|
||||||
|
The COPYRIGHT file at the top level of this repository contains the
|
||||||
|
full copyright notices and license terms. -->
|
||||||
|
<tree keyword_open="1">
|
||||||
|
<field name="name"/>
|
||||||
|
<field name="dtype"/>
|
||||||
|
<field name="chart"/>
|
||||||
|
<field name="legend"/>
|
||||||
|
<field name="maincolor"/>
|
||||||
|
</tree>
|
Loading…
Reference in a new issue