Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] Migrated base_report_to_printer_mail to 8.0 #89

Closed
wants to merge 1 commit into from

Conversation

robch2342
Copy link

No description provided.

Copy link

@Garamotte Garamotte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the backport.
Is it possible to backport the unit test too ?

@@ -0,0 +1,43 @@
# -*- coding: utf-8 -*-
##############################################################################

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'description': """

""",
'images': [],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove empty keys.

@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
##############################################################################

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the short header.

import logging
_logger = logging.getLogger(__name__)

class email_template(osv.osv):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer using models.Model instead of osv.osv since v8.0.

class email_template(osv.osv):
_inherit = "email.template"

def generate_email_batch(self, cr, uid, template_id, res_ids, context={}, fields=None):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

""",
'images': [],
'author': 'Vertel AB',
'website': 'http://www.vertel.se, Odoo Community Association (OCA)',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OCA should be in the author key instead of website.

@pedrobaeza
Copy link
Member

And you should preserve commit history. Use https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-9.0 switching the branches names.

@max3903 max3903 added this to the 8.0 milestone Jun 12, 2018
@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 24, 2021
@github-actions github-actions bot closed this Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants