Skip to content
Snippets Groups Projects
Commit ef1fd729 authored by Florian Gilbert (flg)'s avatar Florian Gilbert (flg)
Browse files

[FIX] l10n_fr_pos_cert: Remove useless "s" that is not a parameter of bank statement.


closes odoo/odoo#76674

Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
parent 0b9fd652
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ class AccountBankStatement(models.Model):
def unlink(self):
for statement in self:
if not statement.company_id._is_accounting_unalterable() or not statement.s.journal_id.pos_payment_method_ids:
if not statement.company_id._is_accounting_unalterable() or not statement.journal_id.pos_payment_method_ids:
continue
if statement.state != 'open':
raise UserError(_('You cannot modify anything on a bank statement (name: %s) that was created by point of sale operations.') % (statement.name))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment