addons portados en el repo de ecocentral
This commit is contained in:
parent
f2194c5367
commit
65818b0155
72 changed files with 2474 additions and 3 deletions
3
pos_full_refund/tests/__init__.py
Normal file
3
pos_full_refund/tests/__init__.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import test_pos_full_refund
|
||||
20
pos_full_refund/tests/test_pos_full_refund.py
Normal file
20
pos_full_refund/tests/test_pos_full_refund.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo.tests import tagged
|
||||
|
||||
from odoo.addons.point_of_sale.tests.test_frontend import TestPointOfSaleHttpCommon
|
||||
|
||||
|
||||
@tagged("post_install", "-at_install")
|
||||
class TestPosFullRefund(TestPointOfSaleHttpCommon):
|
||||
"""Browser run of the "Do Full Refund" button.
|
||||
|
||||
The whole module is client side, so nothing short of a tour proves the
|
||||
button works: a broken handler installs cleanly and just does nothing.
|
||||
Needs a browser — the dev image ships one and exposes it through
|
||||
CHROME_BIN (see dev/README.md).
|
||||
"""
|
||||
|
||||
def test_full_refund_tour(self):
|
||||
self.main_pos_config.with_user(self.pos_user).open_ui()
|
||||
self.start_pos_tour("pos_full_refund_tour")
|
||||
Loading…
Add table
Add a link
Reference in a new issue