From d36fd09596be3112c192271177f8bf72339e6127 Mon Sep 17 00:00:00 2001 From: Dorin Hongu Date: Wed, 3 Jan 2024 17:41:13 +0200 Subject: [PATCH] teste --- deltatech_select_journal/tests/test_sale.py | 4 ++++ deltatech_stock_valuation/README.rst | 2 +- deltatech_stock_valuation/__manifest__.py | 2 +- deltatech_stock_valuation/static/description/index.html | 2 +- deltatech_stock_valuation/tests/test_stock_valuation.py | 4 ---- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/deltatech_select_journal/tests/test_sale.py b/deltatech_select_journal/tests/test_sale.py index bd07c7643f..a0eb47caed 100644 --- a/deltatech_select_journal/tests/test_sale.py +++ b/deltatech_select_journal/tests/test_sale.py @@ -11,6 +11,10 @@ class TestSale(TransactionCase): def setUp(self): super().setUp() self.partner_a = self.env["res.partner"].create({"name": "Test"}) + currency_eur = self.env.ref("base.EUR") + currency_eur.write({"active": True}) + currency_usd = self.env.ref("base.USD") + currency_usd.write({"active": True}) seller_ids = [(0, 0, {"name": self.partner_a.id})] self.product_a = self.env["product.product"].create( diff --git a/deltatech_stock_valuation/README.rst b/deltatech_stock_valuation/README.rst index 0de9532bfd..23f79c9b77 100644 --- a/deltatech_stock_valuation/README.rst +++ b/deltatech_stock_valuation/README.rst @@ -7,7 +7,7 @@ Product Valuation !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:8eab2c74d7882455da233440e00230d9cb2b775f7dad006976ef0347213375a0 + !! source digest: sha256:33959730018c9387a7ec885775c0defca536f43dedde3733f43288f3066e2ffc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png diff --git a/deltatech_stock_valuation/__manifest__.py b/deltatech_stock_valuation/__manifest__.py index 5b711ec2c0..40fe30ef0c 100644 --- a/deltatech_stock_valuation/__manifest__.py +++ b/deltatech_stock_valuation/__manifest__.py @@ -10,7 +10,7 @@ "author": "Terrabit, Dorin Hongu", "website": "https://www.terrabit.ro", "category": "Inventory/Inventory", - "depends": ["stock_account", "l10n_ro"], + "depends": ["stock_account"], "license": "OPL-1", "data": [ "security/ir.model.access.csv", diff --git a/deltatech_stock_valuation/static/description/index.html b/deltatech_stock_valuation/static/description/index.html index 955817cb56..858d38c54b 100644 --- a/deltatech_stock_valuation/static/description/index.html +++ b/deltatech_stock_valuation/static/description/index.html @@ -367,7 +367,7 @@

Product Valuation

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:8eab2c74d7882455da233440e00230d9cb2b775f7dad006976ef0347213375a0 +!! source digest: sha256:33959730018c9387a7ec885775c0defca536f43dedde3733f43288f3066e2ffc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Alpha License: OPL-1 dhongu/deltatech

Features:

diff --git a/deltatech_stock_valuation/tests/test_stock_valuation.py b/deltatech_stock_valuation/tests/test_stock_valuation.py index f639d9a314..3556867aef 100644 --- a/deltatech_stock_valuation/tests/test_stock_valuation.py +++ b/deltatech_stock_valuation/tests/test_stock_valuation.py @@ -14,12 +14,8 @@ class TestStockValuation(AccountTestInvoicingCommon): @classmethod def setUpClass(cls, chart_template_ref=None): - if not chart_template_ref: - chart_template_ref = "l10n_ro.ro_chart_template" super().setUpClass(chart_template_ref=chart_template_ref) - cls.company = cls.env.company - cls.account = cls.env["account.account"].create( { "name": "Account A",