mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Merge pull request #130 from guewen/credit-control-no-print_all
The print_all field has been removed earlier
This commit is contained in:
@@ -56,7 +56,7 @@ class CreditControlPrinter(models.TransientModel):
|
||||
def print_lines(self):
|
||||
self.ensure_one()
|
||||
comm_obj = self.env['credit.control.communication']
|
||||
if not self.line_ids and not self.print_all:
|
||||
if not self.line_ids:
|
||||
raise api.Warning(_('No credit control lines selected.'))
|
||||
|
||||
lines = self._get_lines(self.line_ids, self._credit_line_predicate)
|
||||
|
||||
Reference in New Issue
Block a user