George Daramouskas
6 years ago
No known key found for this signature in database
GPG Key ID: 5B4EF742F8CD859C
10 changed files with 92 additions and 67 deletions
-
11README.md
-
1oca_dependencies.txt
-
2privacy/__openerp__.py
-
1privacy/readme/CONTRIBUTORS.rst
-
1privacy_partner_report/README.rst
-
2privacy_partner_report/__openerp__.py
-
20privacy_partner_report/views/privacy_menu_view.xml
-
26privacy_partner_report/views/privacy_report.xml
-
7privacy_partner_report/wizard/privacy_report_partner.py
-
88privacy_partner_report/wizard/privacy_report_partner_wizard.xml
@ -0,0 +1 @@ |
|||
reporting-engine |
@ -1,2 +1,3 @@ |
|||
* Miquel Raïch <miquel.raich@eficent.com> |
|||
* Daniel Reis <dreis.pt@hotmail.com> |
|||
* George Daramouskas <gdaramouskas@therp.nl> |
@ -1,14 +1,16 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. |
|||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> |
|||
<odoo> |
|||
<openerp> |
|||
|
|||
<menuitem id="menu_privacy_report_privacy_report" |
|||
name="Partner Report" |
|||
parent="privacy.menu_data_protection_report" |
|||
groups="privacy.group_data_protection_user" |
|||
sequence="10" |
|||
action="privacy_partner_report.action_privacy_partner_menu" |
|||
/> |
|||
<data> |
|||
<menuitem id="menu_privacy_report_privacy_report" |
|||
name="Partner Report" |
|||
parent="privacy.menu_data_protection_report" |
|||
groups="privacy.group_data_protection_user" |
|||
sequence="10" |
|||
action="privacy_partner_report.action_privacy_partner_menu" |
|||
/> |
|||
</data> |
|||
|
|||
</odoo> |
|||
</openerp> |
@ -1,11 +1,17 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<record id="action_report_partner_data_xlsx" model="ir.actions.report.xml"> |
|||
<field name="name">Privacy Partner Data</field> |
|||
<field name="model">privacy.partner.report</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">privacy.report_partner_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
</odoo> |
|||
<openerp> |
|||
<data> |
|||
|
|||
<record |
|||
id="action_report_partner_data_xlsx" |
|||
model="ir.actions.report.xml"> |
|||
<field name="name">Privacy Partner Data</field> |
|||
<field name="model">privacy.partner.report</field> |
|||
<field name="type">ir.actions.report.xml</field> |
|||
<field name="report_name">privacy.report_partner_xlsx</field> |
|||
<field name="report_type">xlsx</field> |
|||
<field name="auto" eval="False"/> |
|||
</record> |
|||
|
|||
</data> |
|||
</openerp> |
@ -1,51 +1,53 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. |
|||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> |
|||
<odoo> |
|||
|
|||
<record id="privacy_partner_report_wizard" model="ir.ui.view"> |
|||
<field name="name">Partner Report</field> |
|||
<field name="model">privacy.partner.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Report Options"> |
|||
<group groups="base.group_multi_company"> |
|||
<group> |
|||
<span >Select a company</span><br/> |
|||
<field name="company_id" options="{'no_create': True}" nolabel="1" /> |
|||
<openerp> |
|||
<data> |
|||
|
|||
<record id="privacy_partner_report_wizard" model="ir.ui.view"> |
|||
<field name="name">Partner Report</field> |
|||
<field name="model">privacy.partner.report</field> |
|||
<field name="arch" type="xml"> |
|||
<form string="Report Options"> |
|||
<group groups="base.group_multi_company"> |
|||
<group> |
|||
<span >Select a company</span><br/> |
|||
<field name="company_id" options="{'no_create': True}" nolabel="1" /> |
|||
</group> |
|||
</group> |
|||
</group> |
|||
<group> |
|||
<group> |
|||
<span>Select a partner</span><br/> |
|||
<field name="partner_id" options="{'no_create': True}" nolabel="1" domain="[('company_id', 'in', [False, company_id])]"/> |
|||
<group> |
|||
<span>Select a partner</span><br/> |
|||
<field name="partner_id" options="{'no_create': True}" nolabel="1" domain="[('company_id', 'in', [False, company_id])]"/> |
|||
</group> |
|||
</group> |
|||
<group attrs="{'invisible': [('partner_id', '=', False)]}" col="1"> |
|||
<field name="table_ids" options="{'no_create': True}" editable="bottom"> |
|||
<tree> |
|||
<field name="model_id"/> |
|||
<field name="count_rows" text-align="right"/> |
|||
</tree> |
|||
</field> |
|||
</group> |
|||
</group> |
|||
<group attrs="{'invisible': [('partner_id', '=', False)]}" col="1"> |
|||
<field name="table_ids" options="{'no_create': True}" editable="bottom"> |
|||
<tree> |
|||
<field name="model_id"/> |
|||
<field name="count_rows" text-align="right"/> |
|||
</tree> |
|||
</field> |
|||
</group> |
|||
<footer> |
|||
<button name="button_export_xlsx" string="Export XLSX" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
<footer> |
|||
<button name="button_export_xlsx" string="Export XLSX" type="object" default_focus="1" class="oe_highlight"/> |
|||
or |
|||
<button string="Cancel" class="oe_link" special="cancel" /> |
|||
</footer> |
|||
</form> |
|||
</field> |
|||
</record> |
|||
|
|||
<record id="action_privacy_partner_menu" model="ir.actions.act_window"> |
|||
<field name="name">Partner Report</field> |
|||
<field name="res_model">privacy.partner.report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="privacy_partner_report_wizard"/> |
|||
<field name="context">{}</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
<record id="action_privacy_partner_menu" model="ir.actions.act_window"> |
|||
<field name="name">Partner Report</field> |
|||
<field name="res_model">privacy.partner.report</field> |
|||
<field name="type">ir.actions.act_window</field> |
|||
<field name="view_type">form</field> |
|||
<field name="view_mode">form</field> |
|||
<field name="view_id" ref="privacy_partner_report_wizard"/> |
|||
<field name="context">{}</field> |
|||
<field name="target">new</field> |
|||
</record> |
|||
|
|||
</odoo> |
|||
</data> |
|||
</openerp> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue