addons portados en el repo de ecocentral

This commit is contained in:
GitHub Copilot 2026-08-07 16:34:38 +02:00
parent f2194c5367
commit 65818b0155
72 changed files with 2474 additions and 3 deletions

View file

@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import test_pos_full_refund

View 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")