OCA / l10n-switzerland

Odoo Swiss localization
GNU Affero General Public License v3.0
53 stars 164 forks source link

Docstring of PaymentSlip._compute_payment_slip_image() is confusing #529

Closed sebastienhasa closed 2 years ago

sebastienhasa commented 5 years ago

On the file l10n_ch_payment_slip/models/payment_slip.py, in the class PaymentSlip, the method _compute_payment_slip_image() docstring say: "Draw an us letter format slip in PNG"

But inside this method, the code call the method _draw_payment_slip() to draw the payment slip and this method only support PDF for now. So, the method _compute_payment_slip_image() did not return a PNG but a PDF.

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue in the past 6 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 issue to never become stale, please ask a PSC member to apply the "no stale" label.