Browse Source

[13.0][MIG] privacy_partner_report

pull/45/head
Mustufa Kantawala 4 years ago
parent
commit
3e54dce5cc
  1. 1
      privacy_partner_report/README.rst
  2. 2
      privacy_partner_report/__manifest__.py
  3. 1
      privacy_partner_report/readme/CONTRIBUTORS.rst
  4. 1
      privacy_partner_report/static/description/index.html
  5. 1
      privacy_partner_report/views/privacy_menu_view.xml
  6. 1
      privacy_partner_report/views/privacy_report.xml
  7. 5
      privacy_partner_report/wizard/privacy_report_partner.py
  8. 2
      privacy_partner_report/wizard/privacy_report_partner_wizard.xml

1
privacy_partner_report/README.rst

@ -65,6 +65,7 @@ Contributors
* Miquel Raïch <miquel.raich@eficent.com>
* Katja Matthes <katja.matthes@initos.com>
* TechUltra Solutions Pvt. Ltd. <contact@techultra.in>
Maintainers
~~~~~~~~~~~

2
privacy_partner_report/__manifest__.py

@ -2,7 +2,7 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
{
'name': 'Privacy Partner Report',
'version': '12.0.1.0.0',
'version': '13.0.1.0.0',
'category': 'GDPR',
'summary': 'Show the transactions that a specific partner is involved in.',
'author': "Eficent, "

1
privacy_partner_report/readme/CONTRIBUTORS.rst

@ -1,2 +1,3 @@
* Miquel Raïch <miquel.raich@eficent.com>
* Katja Matthes <katja.matthes@initos.com>
* TechUltra Solutions Pvt. Ltd. <contact@techultra.in>

1
privacy_partner_report/static/description/index.html

@ -413,6 +413,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<ul class="simple">
<li>Miquel Raïch &lt;<a class="reference external" href="mailto:miquel.raich&#64;eficent.com">miquel.raich&#64;eficent.com</a>&gt;</li>
<li>Katja Matthes &lt;<a class="reference external" href="mailto:katja.matthes&#64;initos.com">katja.matthes&#64;initos.com</a>&gt;</li>
<li>TechUltra Solutions Pvt. Ltd. &lt;<a class="reference external" href="mailto:contact&#64;techultra.in">contact@techultra.in</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">

1
privacy_partner_report/views/privacy_menu_view.xml

@ -1,4 +1,3 @@
<?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>

1
privacy_partner_report/views/privacy_report.xml

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<report
id="report_partner_xlsx"

5
privacy_partner_report/wizard/privacy_report_partner.py

@ -59,7 +59,7 @@ class PrivacyPartnerReport(models.TransientModel):
},
}
@api.multi
def button_export_xlsx(self):
self.ensure_one()
if not self.table_ids:
@ -101,7 +101,6 @@ class PrivacyPartnerReport(models.TransientModel):
cleaned_rows[i][label] = rows[i][key]
return cleaned_rows
@api.multi
def check_report(self, xlsx_report=False):
self.ensure_one()
data = {}
@ -114,7 +113,6 @@ class PrivacyPartnerReport(models.TransientModel):
used_context, lang=self.env.context.get('lang', 'en_US'))
return self._print_report(data=data, xlsx_report=xlsx_report)
@api.multi
def compute_data_for_report(self, data):
if not data.get('form'):
raise UserError(
@ -238,7 +236,6 @@ class PrivacyPartnerData(models.TransientModel):
res_ids = fields.Char('Related Document IDs', index=True,
help='List of Related Document IDs')
@api.multi
def action_view_records(self):
self.ensure_one()
response = {

2
privacy_partner_report/wizard/privacy_report_partner_wizard.xml

@ -1,4 +1,3 @@
<?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>
@ -42,7 +41,6 @@
<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="target">current</field>

Loading…
Cancel
Save