[FIX] account_check_printing: Print Checks
When clicking on button "Print Checks" on "account.payment", if the check is not printed, the state of the "account.payment" doesn't have to be change in state "Sent". Now the state is changed in function do_print_checks which is overwritten in repository enterprise. opw:725626
This commit is contained in:
@@ -101,7 +101,6 @@ class account_payment(models.Model):
|
||||
raise UserError(_("In order to print multiple checks at once, they must belong to the same bank journal."))
|
||||
|
||||
self.filtered(lambda r: r.state == 'draft').post()
|
||||
self.write({'state': 'sent'})
|
||||
|
||||
if not self[0].journal_id.check_manual_sequencing:
|
||||
# The wizard asks for the number printed on the first pre-printed check
|
||||
|
||||
Reference in New Issue
Block a user