diff --git a/addons/point_of_sale/pos.py b/addons/point_of_sale/pos.py
index fd6bda2bf32..af0be67af63 100644
--- a/addons/point_of_sale/pos.py
+++ b/addons/point_of_sale/pos.py
@@ -362,7 +362,7 @@ class pos_order(osv.osv):
def test_order_lines(self, cr, uid, order, context=None):
- """ Test order line is created or not for the order "
+ """ Test order line is created or not for the order "
@param name: Names of fields.
@return: True
"""
diff --git a/addons/point_of_sale/pos_view.xml b/addons/point_of_sale/pos_view.xml
index b86f62b591e..23e8ef95cf2 100644
--- a/addons/point_of_sale/pos_view.xml
+++ b/addons/point_of_sale/pos_view.xml
@@ -14,9 +14,8 @@
-
-
+
@@ -29,7 +28,7 @@
-
@@ -91,7 +90,6 @@
-
@@ -113,16 +111,17 @@
pos.order
tree
-
+
+
-
+
@@ -135,16 +134,18 @@
-
-
-
-
+
+
+
+
-
-
+
+
+
+
@@ -787,33 +788,6 @@
action="action_box_out"
id="menu_wizard_enter_jrnl2" sequence="3" />
-
- POS Sales
- pos.order
- tree
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- All sales
- ir.actions.act_window
- pos.order
- form
-
-
POS Sales Lines
pos.order.line
diff --git a/addons/point_of_sale/test/pos_test.yml b/addons/point_of_sale/test/pos_test.yml
index 38cd4f8b3f0..6baffce34f4 100644
--- a/addons/point_of_sale/test/pos_test.yml
+++ b/addons/point_of_sale/test/pos_test.yml
@@ -2,7 +2,7 @@
In order to test the POS in module, To give business owners a convenient way of checking out customers and of recording sales.
-
- I configure all details for the customer, Salesman and Product, Account.
+ I configure all details for the Customer, Salesman and Product, Account.
-
I create View Account Type.
-
diff --git a/addons/point_of_sale/wizard/pos_open_statement.py b/addons/point_of_sale/wizard/pos_open_statement.py
index 3f0987be417..0b8219d949b 100644
--- a/addons/point_of_sale/wizard/pos_open_statement.py
+++ b/addons/point_of_sale/wizard/pos_open_statement.py
@@ -91,7 +91,7 @@ class pos_open_statement(osv.osv_memory):
id3 = data_obj.browse(cr, uid, id3, context=context).res_id
return {
- 'domain': "[('state','=','open')]",
+ 'domain': "[('state','=','open'),('user_id','=',"+ str(uid) +")]",
'name': 'Open Statement',
'view_type': 'form',
'view_mode': 'tree,form',