Skip to content

Commit

Permalink
[IMP] payment_mollie_official: set model description
Browse files Browse the repository at this point in the history
Without this description logs & tests will gives a warning saying:
"2021-04-11 11:33:45,654 261297 WARNING your_database odoo.models: The model mollie.voucher.line has no _description"
By setting one this no longer pollutes the logs
  • Loading branch information
Yenthe666 authored and odoo-mvds committed Jun 3, 2021
1 parent a72a701 commit 8545830
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions payment_mollie_official/models/voucher_lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

class MollieVoucherLines(models.Model):
_name = 'mollie.voucher.line'
_description = 'Mollie Voucher Line'

def _default_voucher_category(self):
""" We moved field from acquirer to method line.
Expand Down

0 comments on commit 8545830

Please sign in to comment.