odoo14-addon-l10n-br-purchase 14.0.3.2.1.dev1__py3-none-any.whl → 14.0.3.2.2__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- odoo/addons/l10n_br_purchase/__manifest__.py +1 -1
- odoo/addons/l10n_br_purchase/hooks.py +2 -1
- odoo/addons/l10n_br_purchase/tests/test_l10n_br_purchase.py +0 -3
- {odoo14_addon_l10n_br_purchase-14.0.3.2.1.dev1.dist-info → odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info}/METADATA +1 -1
- {odoo14_addon_l10n_br_purchase-14.0.3.2.1.dev1.dist-info → odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info}/RECORD +7 -7
- {odoo14_addon_l10n_br_purchase-14.0.3.2.1.dev1.dist-info → odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info}/WHEEL +1 -1
- {odoo14_addon_l10n_br_purchase-14.0.3.2.1.dev1.dist-info → odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@
|
|
8
8
|
"author": "Akretion, Odoo Community Association (OCA)",
|
9
9
|
"maintainers": ["renatonlima", "rvalyi"],
|
10
10
|
"website": "https://github.com/OCA/l10n-brazil",
|
11
|
-
"version": "14.0.3.2.
|
11
|
+
"version": "14.0.3.2.2",
|
12
12
|
"depends": ["purchase", "l10n_br_account"],
|
13
13
|
"data": [
|
14
14
|
# Security
|
@@ -6,7 +6,8 @@ from odoo import SUPERUSER_ID, api, tools
|
|
6
6
|
|
7
7
|
def post_init_hook(cr, registry):
|
8
8
|
|
9
|
-
|
9
|
+
cr.execute("select demo from ir_module_module where name='l10n_br_purchase';")
|
10
|
+
if cr.fetchone()[0]:
|
10
11
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
11
12
|
purchase_orders = env["purchase.order"].search(
|
12
13
|
[("company_id", "!=", env.ref("base.main_company").id)]
|
@@ -20,7 +20,6 @@ class L10nBrPurchaseBaseTest(SavepointCase):
|
|
20
20
|
@classmethod
|
21
21
|
def setUpClass(cls):
|
22
22
|
super().setUpClass()
|
23
|
-
cls.main_company = cls.env.ref("base.main_company")
|
24
23
|
cls.company = cls.env.ref("l10n_br_base.empresa_lucro_presumido")
|
25
24
|
cls.po_products = cls.env.ref("l10n_br_purchase.lp_po_only_products")
|
26
25
|
# cls.po_services = cls.env.ref(
|
@@ -433,7 +432,6 @@ class L10nBrPurchaseBaseTest(SavepointCase):
|
|
433
432
|
)
|
434
433
|
|
435
434
|
self._invoice_purchase_order(self.po_products)
|
436
|
-
self._change_user_company(self.main_company)
|
437
435
|
|
438
436
|
def test_fields_view_get(self):
|
439
437
|
"""Test Purchase Order fields_view_get."""
|
@@ -536,4 +534,3 @@ class L10nBrPurchaseBaseTest(SavepointCase):
|
|
536
534
|
13.34,
|
537
535
|
"Unexpected value for the field Other Values in Purchase Order.",
|
538
536
|
)
|
539
|
-
self._change_user_company(self.main_company)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
odoo/addons/l10n_br_purchase/README.rst,sha256=nhYexC0eunBQLpEm0vnP2ZNa-xhRWNNsKqY0oqmTxFc,4475
|
2
2
|
odoo/addons/l10n_br_purchase/__init__.py,sha256=otut1R_8C8Cn2BBP2RL7BuAOxh5lmp_IS7y3RRVaB9Q,189
|
3
|
-
odoo/addons/l10n_br_purchase/__manifest__.py,sha256=
|
4
|
-
odoo/addons/l10n_br_purchase/hooks.py,sha256=
|
3
|
+
odoo/addons/l10n_br_purchase/__manifest__.py,sha256=JbWfrLhRN_2YUOiL4A6pBh5YOXVqfOHIxq-dgdWPLDo,983
|
4
|
+
odoo/addons/l10n_br_purchase/hooks.py,sha256=1DHXXyDeo9BgHe4mFd5xWBNb9Sii3SjxPEmgzgUFP08,2277
|
5
5
|
odoo/addons/l10n_br_purchase/data/company.xml,sha256=VWD3A_MPASRZJDTRmXtEFQhg0_pZvGeSvhMdH4OCDz8,251
|
6
6
|
odoo/addons/l10n_br_purchase/demo/company.xml,sha256=vsl1dse3q_o-T6BOF9xH8PhdAWsRosTvsNg_gPQuyoM,435
|
7
7
|
odoo/addons/l10n_br_purchase/demo/fiscal_operation_generic.xml,sha256=u0wELeMZZhPg5L1mzajJgkC9UrY-zhA-45RusIqj1gA,2353
|
@@ -31,11 +31,11 @@ odoo/addons/l10n_br_purchase/security/ir.model.access.csv,sha256=bQTfw--GEMiRE1M
|
|
31
31
|
odoo/addons/l10n_br_purchase/static/description/icon.png,sha256=b1uvDtIAslueuduSrxm6miLy_X1RYXmIayt7E1j8t6I,18092
|
32
32
|
odoo/addons/l10n_br_purchase/static/description/index.html,sha256=k9ci4OgXcmPtZyBNBNf-uRh6v2HZ3M7e7gyE8eYaGj4,15470
|
33
33
|
odoo/addons/l10n_br_purchase/tests/__init__.py,sha256=b6lLV1OD86vong8P8jX13fhE0J1vF3uq95qVf6HdT28,145
|
34
|
-
odoo/addons/l10n_br_purchase/tests/test_l10n_br_purchase.py,sha256=
|
34
|
+
odoo/addons/l10n_br_purchase/tests/test_l10n_br_purchase.py,sha256=NEr-5TTyD4yu1sG7DdlWNB8krZ2aw_lOZ0HYks4Qcl0,20264
|
35
35
|
odoo/addons/l10n_br_purchase/tests/test_l10n_br_purchase_sn.py,sha256=t4x-A1BHrRmlNIBkPzx6HAmXoPYU0GxC8qjQJ1BzadA,426
|
36
36
|
odoo/addons/l10n_br_purchase/views/purchase_view.xml,sha256=Ut8Zhs8js4xENPvw74_9AddA81N9I-4E3i48JyL70FU,7853
|
37
37
|
odoo/addons/l10n_br_purchase/views/res_company_view.xml,sha256=_l_XLUm9VEM0XEqxSgqqeTgXYFmiw_7NhnjUxwWvMdw,775
|
38
|
-
odoo14_addon_l10n_br_purchase-14.0.3.2.
|
39
|
-
odoo14_addon_l10n_br_purchase-14.0.3.2.
|
40
|
-
odoo14_addon_l10n_br_purchase-14.0.3.2.
|
41
|
-
odoo14_addon_l10n_br_purchase-14.0.3.2.
|
38
|
+
odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info/METADATA,sha256=Zaj8qp_riZ2LkgCpZGkVVH7fAYiinqRq-EPD3emwItg,5062
|
39
|
+
odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
40
|
+
odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
41
|
+
odoo14_addon_l10n_br_purchase-14.0.3.2.2.dist-info/RECORD,,
|