Browse Source

Merge PR #526 into 12.0

Signed-off-by pedrobaeza
pull/365/head
OCA-git-bot 4 years ago
parent
commit
70417d0f26
  1. 3
      pos_order_mgmt/tests/test_module.py

3
pos_order_mgmt/tests/test_module.py

@ -34,8 +34,7 @@ class TestModule(TransactionCase):
})
# Create a new pos config and open it
self.pos_config = self.env.ref('point_of_sale.pos_config_main').copy()
self.pos_config.write({
self.pos_config = self.env.ref('point_of_sale.pos_config_main').copy({
'available_pricelist_ids': [(6, 0, self.pricelist.ids)],
'pricelist_id': self.pricelist.id,
})

Loading…
Cancel
Save