mirror of
https://bitbucket.org/presik/trytonpsk-sale_pos.git
synced 2023-12-14 07:13:02 +01:00
Remove prints
This commit is contained in:
parent
2cc7fdcf1d
commit
b49adb2609
1
sale.py
1
sale.py
|
@ -345,7 +345,6 @@ class Sale(metaclass=PoolMeta):
|
|||
sale.set_invoice_state()
|
||||
sequence = sale.get_sequence(sale)
|
||||
if not sale.invoice_number and sale.invoice_method == 'order':
|
||||
print('.............. ingresa')
|
||||
if sequence:
|
||||
number = sequence.get()
|
||||
sale_date = Date.today()
|
||||
|
|
13
shop.py
13
shop.py
|
@ -95,18 +95,6 @@ class ShopDailySummaryReport(Report):
|
|||
'Shop Daily Summary'
|
||||
__name__ = 'sale_pos.shop_daily_summary_report'
|
||||
|
||||
# @classmethod
|
||||
# def execute(cls, ids, data):
|
||||
# print('psas')
|
||||
# if ids:
|
||||
# print('psas 23234')
|
||||
# super().execute(ids, data)
|
||||
|
||||
# @classmethod
|
||||
# def _get_records(cls, ids, model, data):
|
||||
# if ids:
|
||||
# super(ShopDailySummaryReport, cls)._get_records(ids, model, data)
|
||||
|
||||
@classmethod
|
||||
def get_context(cls, records, header, data):
|
||||
report_context = super().get_context(records, header, data)
|
||||
|
@ -223,7 +211,6 @@ class ShopDailySummaryReport(Report):
|
|||
|
||||
amount_to_pay = invoice.amount_to_pay
|
||||
if amount_to_pay > 0:
|
||||
print('credito con pagos ...', invoice.number)
|
||||
# THIS MUST WORKS IN FUTURE WITH ADD PAYMENT INSTATEMENT TO INVOICE
|
||||
# devices[device_id]['credit'].append(amount_to_pay)
|
||||
# payment_modes['credit'].append(amount_to_pay)
|
||||
|
|
Loading…
Reference in a new issue