Browse Source

[FIX] pylint & flake8;

pull/517/head
Sylvain LE GAL 9 years ago
committed by Cyril VINH-TUNG
parent
commit
52f1e6c672
  1. 2
      pos_order_load/__init__.py
  2. 2
      pos_order_load/models/__init__.py
  3. 3
      pos_order_load/models/pos_order.py

2
pos_order_load/__init__.py

@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
import models
from . import models

2
pos_order_load/models/__init__.py

@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
import pos_order
from . import pos_order

3
pos_order_load/models/pos_order.py

@ -55,7 +55,6 @@ class PosOrder(models.Model):
# Save Paid Orders
return super(PosOrder, self).create_from_ui(orders)
# Custom Section
@api.model
def search_read_orders(self, query):
@ -90,7 +89,7 @@ class PosOrder(models.Model):
# create Order
order = self.create(self._order_fields(order_data))
# Create payment
for statement_data in statements_data:
self.add_payment(

Loading…
Cancel
Save