Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
-
Re: Propose João Marques as PSC for several areas
To clarify, I can only vote for tools because I am not PSC on the other areas :)El jue, 29 jul 2021 a las 11:19, Lois Rilo Antelo (<lois.rilo@forgeflow.com>) escribió:I can only vote for tools: +1El jue, 29 jul 2021 a las 11:17, Kitti Upariphutthiphong (<kittiu@ecosoft.co.th>) escribió:+1 for accounting PSC.On Thu, Jul 29, 2021 at 3:02 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Hi all,It's been a while since my colleague João is with us, and he has done a lot of work in several areas, so I'm requesting if you consider his inclusion in the proper PSCs. Here you have the pull requests he has made on such PSCs:Tools:
https://github.com/OCA/calendar/pull/29
https://github.com/OCA/interface-github/pull/73
https://github.com/OCA/interface-github/pull/72
https://github.com/OCA/odoo-module-migrator/pull/55
https://github.com/OCA/odoo-module-migrator/pull/53
https://github.com/OCA/server-auth/pull/250
https://github.com/OCA/server-auth/pull/249
https://github.com/OCA/server-auth/pull/242
https://github.com/OCA/server-auth/pull/241
https://github.com/OCA/server-tools/pull/1920
https://github.com/OCA/server-ux/pull/365Document:
https://github.com/OCA/dms/pull/115
https://github.com/OCA/dms/pull/47But also a lot of reviews:
https://github.com/OCA/dms/pull/51
https://github.com/OCA/dms/pull/67
https://github.com/OCA/dms/pull/71
https://github.com/OCA/dms/pull/75
https://github.com/OCA/dms/pull/92
https://github.com/OCA/dms/pull/100
https://github.com/OCA/dms/pull/112Banking:
https://github.com/OCA/account-payment/pull/427
https://github.com/OCA/account-payment/pull/401
https://github.com/OCA/account-payment/pull/384
https://github.com/OCA/account-payment/pull/383
https://github.com/OCA/account-reconcile/pull/370
https://github.com/OCA/account-reconcile/pull/367
https://github.com/OCA/bank-payment/pull/817
https://github.com/OCA/bank-payment/pull/816
https://github.com/OCA/bank-payment/pull/802
https://github.com/OCA/bank-payment/pull/798
https://github.com/OCA/bank-payment/pull/797
https://github.com/OCA/bank-payment/pull/796
https://github.com/OCA/bank-payment/pull/795
https://github.com/OCA/bank-payment/pull/786
https://github.com/OCA/bank-payment/pull/783
https://github.com/OCA/bank-payment/pull/782
https://github.com/OCA/bank-statement-import/pull/365
https://github.com/OCA/bank-statement-import/pull/354
https://github.com/OCA/bank-statement-import/pull/322Accounting:
https://github.com/OCA/account-financial-reporting/pull/783
https://github.com/OCA/account-financial-reporting/pull/782
https://github.com/OCA/account-financial-reporting/pull/781
https://github.com/OCA/account-financial-reporting/pull/780
https://github.com/OCA/account-financial-reporting/pull/777
https://github.com/OCA/account-financial-reporting/pull/775
https://github.com/OCA/account-financial-reporting/pull/758
https://github.com/OCA/account-financial-reporting/pull/749
https://github.com/OCA/account-financial-tools/pull/1183
https://github.com/OCA/account-financial-tools/pull/1151
https://github.com/OCA/account-financial-tools/pull/1112
https://github.com/OCA/account-invoice-reporting/pull/166
https://github.com/OCA/account-invoice-reporting/pull/155
https://github.com/OCA/account-invoice-reporting/pull/152
https://github.com/OCA/account-invoicing/pull/978
https://github.com/OCA/account-invoicing/pull/976
https://github.com/OCA/account-invoicing/pull/908
https://github.com/OCA/account-invoicing/pull/895
https://github.com/OCA/account-invoicing/pull/856
https://github.com/OCA/credit-control/pull/115
https://github.com/OCA/account-analytic/pull/366Thanks for considering it.
Regards.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Lois Rilo AnteloOdoo consultant at ForgeFlow S.L.--Lois Rilo AnteloOdoo consultant at ForgeFlow S.L.
by Lois Rilo Antelo - 11:20 - 29 Jul 2021 -
Re: Propose João Marques as PSC for several areas
I can only vote for tools: +1El jue, 29 jul 2021 a las 11:17, Kitti Upariphutthiphong (<kittiu@ecosoft.co.th>) escribió:+1 for accounting PSC.On Thu, Jul 29, 2021 at 3:02 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Hi all,It's been a while since my colleague João is with us, and he has done a lot of work in several areas, so I'm requesting if you consider his inclusion in the proper PSCs. Here you have the pull requests he has made on such PSCs:Tools:
https://github.com/OCA/calendar/pull/29
https://github.com/OCA/interface-github/pull/73
https://github.com/OCA/interface-github/pull/72
https://github.com/OCA/odoo-module-migrator/pull/55
https://github.com/OCA/odoo-module-migrator/pull/53
https://github.com/OCA/server-auth/pull/250
https://github.com/OCA/server-auth/pull/249
https://github.com/OCA/server-auth/pull/242
https://github.com/OCA/server-auth/pull/241
https://github.com/OCA/server-tools/pull/1920
https://github.com/OCA/server-ux/pull/365Document:
https://github.com/OCA/dms/pull/115
https://github.com/OCA/dms/pull/47But also a lot of reviews:
https://github.com/OCA/dms/pull/51
https://github.com/OCA/dms/pull/67
https://github.com/OCA/dms/pull/71
https://github.com/OCA/dms/pull/75
https://github.com/OCA/dms/pull/92
https://github.com/OCA/dms/pull/100
https://github.com/OCA/dms/pull/112Banking:
https://github.com/OCA/account-payment/pull/427
https://github.com/OCA/account-payment/pull/401
https://github.com/OCA/account-payment/pull/384
https://github.com/OCA/account-payment/pull/383
https://github.com/OCA/account-reconcile/pull/370
https://github.com/OCA/account-reconcile/pull/367
https://github.com/OCA/bank-payment/pull/817
https://github.com/OCA/bank-payment/pull/816
https://github.com/OCA/bank-payment/pull/802
https://github.com/OCA/bank-payment/pull/798
https://github.com/OCA/bank-payment/pull/797
https://github.com/OCA/bank-payment/pull/796
https://github.com/OCA/bank-payment/pull/795
https://github.com/OCA/bank-payment/pull/786
https://github.com/OCA/bank-payment/pull/783
https://github.com/OCA/bank-payment/pull/782
https://github.com/OCA/bank-statement-import/pull/365
https://github.com/OCA/bank-statement-import/pull/354
https://github.com/OCA/bank-statement-import/pull/322Accounting:
https://github.com/OCA/account-financial-reporting/pull/783
https://github.com/OCA/account-financial-reporting/pull/782
https://github.com/OCA/account-financial-reporting/pull/781
https://github.com/OCA/account-financial-reporting/pull/780
https://github.com/OCA/account-financial-reporting/pull/777
https://github.com/OCA/account-financial-reporting/pull/775
https://github.com/OCA/account-financial-reporting/pull/758
https://github.com/OCA/account-financial-reporting/pull/749
https://github.com/OCA/account-financial-tools/pull/1183
https://github.com/OCA/account-financial-tools/pull/1151
https://github.com/OCA/account-financial-tools/pull/1112
https://github.com/OCA/account-invoice-reporting/pull/166
https://github.com/OCA/account-invoice-reporting/pull/155
https://github.com/OCA/account-invoice-reporting/pull/152
https://github.com/OCA/account-invoicing/pull/978
https://github.com/OCA/account-invoicing/pull/976
https://github.com/OCA/account-invoicing/pull/908
https://github.com/OCA/account-invoicing/pull/895
https://github.com/OCA/account-invoicing/pull/856
https://github.com/OCA/credit-control/pull/115
https://github.com/OCA/account-analytic/pull/366Thanks for considering it.
Regards.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Lois Rilo AnteloOdoo consultant at ForgeFlow S.L.
by Lois Rilo Antelo - 11:20 - 29 Jul 2021 -
Propose Jordi Ballester as PSC in several areas
Hi,Most of you know Jordi, he has been part of the OCA board several years. As part of the board he had "superpowers" and was able to manage any repository so there was no much need to be included as PSC of many repos (even when he was effectively doing it), now that he is not in the board anymore, he doesn't belong to any PSC group and cannot help with the maintenance. I would like to propose him as PSC of the following areas:- Product- Sales- PurchaseThumbs up for all or some?Thank you!Regards,--Twitter: /LoisRForgeFlowlois.rilo@forgeflow.com | https://www.forgeflow.comLois Rilo AnteloOdoo consultant at ForgeFlow S.L.
The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
by Lois Rilo Antelo - 11:20 - 29 Jul 2021 -
Re: Propose João Marques as PSC for several areas
+1 for accounting PSC.On Thu, Jul 29, 2021 at 3:02 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Hi all,It's been a while since my colleague João is with us, and he has done a lot of work in several areas, so I'm requesting if you consider his inclusion in the proper PSCs. Here you have the pull requests he has made on such PSCs:Tools:
https://github.com/OCA/calendar/pull/29
https://github.com/OCA/interface-github/pull/73
https://github.com/OCA/interface-github/pull/72
https://github.com/OCA/odoo-module-migrator/pull/55
https://github.com/OCA/odoo-module-migrator/pull/53
https://github.com/OCA/server-auth/pull/250
https://github.com/OCA/server-auth/pull/249
https://github.com/OCA/server-auth/pull/242
https://github.com/OCA/server-auth/pull/241
https://github.com/OCA/server-tools/pull/1920
https://github.com/OCA/server-ux/pull/365Document:
https://github.com/OCA/dms/pull/115
https://github.com/OCA/dms/pull/47But also a lot of reviews:
https://github.com/OCA/dms/pull/51
https://github.com/OCA/dms/pull/67
https://github.com/OCA/dms/pull/71
https://github.com/OCA/dms/pull/75
https://github.com/OCA/dms/pull/92
https://github.com/OCA/dms/pull/100
https://github.com/OCA/dms/pull/112Banking:
https://github.com/OCA/account-payment/pull/427
https://github.com/OCA/account-payment/pull/401
https://github.com/OCA/account-payment/pull/384
https://github.com/OCA/account-payment/pull/383
https://github.com/OCA/account-reconcile/pull/370
https://github.com/OCA/account-reconcile/pull/367
https://github.com/OCA/bank-payment/pull/817
https://github.com/OCA/bank-payment/pull/816
https://github.com/OCA/bank-payment/pull/802
https://github.com/OCA/bank-payment/pull/798
https://github.com/OCA/bank-payment/pull/797
https://github.com/OCA/bank-payment/pull/796
https://github.com/OCA/bank-payment/pull/795
https://github.com/OCA/bank-payment/pull/786
https://github.com/OCA/bank-payment/pull/783
https://github.com/OCA/bank-payment/pull/782
https://github.com/OCA/bank-statement-import/pull/365
https://github.com/OCA/bank-statement-import/pull/354
https://github.com/OCA/bank-statement-import/pull/322Accounting:
https://github.com/OCA/account-financial-reporting/pull/783
https://github.com/OCA/account-financial-reporting/pull/782
https://github.com/OCA/account-financial-reporting/pull/781
https://github.com/OCA/account-financial-reporting/pull/780
https://github.com/OCA/account-financial-reporting/pull/777
https://github.com/OCA/account-financial-reporting/pull/775
https://github.com/OCA/account-financial-reporting/pull/758
https://github.com/OCA/account-financial-reporting/pull/749
https://github.com/OCA/account-financial-tools/pull/1183
https://github.com/OCA/account-financial-tools/pull/1151
https://github.com/OCA/account-financial-tools/pull/1112
https://github.com/OCA/account-invoice-reporting/pull/166
https://github.com/OCA/account-invoice-reporting/pull/155
https://github.com/OCA/account-invoice-reporting/pull/152
https://github.com/OCA/account-invoicing/pull/978
https://github.com/OCA/account-invoicing/pull/976
https://github.com/OCA/account-invoicing/pull/908
https://github.com/OCA/account-invoicing/pull/895
https://github.com/OCA/account-invoicing/pull/856
https://github.com/OCA/credit-control/pull/115
https://github.com/OCA/account-analytic/pull/366Thanks for considering it.
Regards.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Kitti Upariphutthiphong - 11:16 - 29 Jul 2021 -
Re: Propose João Marques as PSC for several areas
+1 of course!On Thu, Jul 29, 2021 at 10:02 AM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Hi all,It's been a while since my colleague João is with us, and he has done a lot of work in several areas, so I'm requesting if you consider his inclusion in the proper PSCs. Here you have the pull requests he has made on such PSCs:Tools:
https://github.com/OCA/calendar/pull/29
https://github.com/OCA/interface-github/pull/73
https://github.com/OCA/interface-github/pull/72
https://github.com/OCA/odoo-module-migrator/pull/55
https://github.com/OCA/odoo-module-migrator/pull/53
https://github.com/OCA/server-auth/pull/250
https://github.com/OCA/server-auth/pull/249
https://github.com/OCA/server-auth/pull/242
https://github.com/OCA/server-auth/pull/241
https://github.com/OCA/server-tools/pull/1920
https://github.com/OCA/server-ux/pull/365Document:
https://github.com/OCA/dms/pull/115
https://github.com/OCA/dms/pull/47But also a lot of reviews:
https://github.com/OCA/dms/pull/51
https://github.com/OCA/dms/pull/67
https://github.com/OCA/dms/pull/71
https://github.com/OCA/dms/pull/75
https://github.com/OCA/dms/pull/92
https://github.com/OCA/dms/pull/100
https://github.com/OCA/dms/pull/112Banking:
https://github.com/OCA/account-payment/pull/427
https://github.com/OCA/account-payment/pull/401
https://github.com/OCA/account-payment/pull/384
https://github.com/OCA/account-payment/pull/383
https://github.com/OCA/account-reconcile/pull/370
https://github.com/OCA/account-reconcile/pull/367
https://github.com/OCA/bank-payment/pull/817
https://github.com/OCA/bank-payment/pull/816
https://github.com/OCA/bank-payment/pull/802
https://github.com/OCA/bank-payment/pull/798
https://github.com/OCA/bank-payment/pull/797
https://github.com/OCA/bank-payment/pull/796
https://github.com/OCA/bank-payment/pull/795
https://github.com/OCA/bank-payment/pull/786
https://github.com/OCA/bank-payment/pull/783
https://github.com/OCA/bank-payment/pull/782
https://github.com/OCA/bank-statement-import/pull/365
https://github.com/OCA/bank-statement-import/pull/354
https://github.com/OCA/bank-statement-import/pull/322Accounting:
https://github.com/OCA/account-financial-reporting/pull/783
https://github.com/OCA/account-financial-reporting/pull/782
https://github.com/OCA/account-financial-reporting/pull/781
https://github.com/OCA/account-financial-reporting/pull/780
https://github.com/OCA/account-financial-reporting/pull/777
https://github.com/OCA/account-financial-reporting/pull/775
https://github.com/OCA/account-financial-reporting/pull/758
https://github.com/OCA/account-financial-reporting/pull/749
https://github.com/OCA/account-financial-tools/pull/1183
https://github.com/OCA/account-financial-tools/pull/1151
https://github.com/OCA/account-financial-tools/pull/1112
https://github.com/OCA/account-invoice-reporting/pull/166
https://github.com/OCA/account-invoice-reporting/pull/155
https://github.com/OCA/account-invoice-reporting/pull/152
https://github.com/OCA/account-invoicing/pull/978
https://github.com/OCA/account-invoicing/pull/976
https://github.com/OCA/account-invoicing/pull/908
https://github.com/OCA/account-invoicing/pull/895
https://github.com/OCA/account-invoicing/pull/856
https://github.com/OCA/credit-control/pull/115
https://github.com/OCA/account-analytic/pull/366Thanks for considering it.
Regards.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Jordi Ballester AlomarCEO & FounderSpain: (+34) 629 53 07 07 | USA: (+1) 646 980 46 59 | Denmark: (+45) 78 78 21 89
The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
by Jordi Ballester Alomar - 11:01 - 29 Jul 2021 -
Re: odoo13 unittest: installed modules not available while testing
Hi,Looks like dependency issue.Check if module in which you created this TestCase has dependency to module hr_payrollRegards,Petar Najman
Office: +381 11 328 17 18
Mobile: +381 60 625 62 62
Email: petar.najman@modoolar.com
Web: www.modoolar.comThanks Simone
On 29.07.21 08:42, Simone Orsi wrote:
Here it is, with some explanationsHi,
without your test class it is hard to guess what's wrong ;)
Can you provide it?
import base64from odoo.tests import common"""# started with:bin/odoo -c etc/odoo.cfg# stopped in the debugger:self.env.cr.dbname'odoo13'self.env['hr.payroll.structure']hr.payroll.structure()# started with:bin/odoo -c etc/odoo.cfg -u aba_connector --test-enable --stop-after-ini# stopped in the debugger:self.env.cr.dbname'odoo13'self.env['hr.payroll.structure']Traceback (most recent call last):Debug Console, prompt 80, line 1import base64File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/api.py", line 463, in __getitem__return self.registry[model_name]._browse(self, (), ())File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/modules/registry.py", line 177, in __getitem__return self.models[model_name]builtins.KeyError: 'hr.payroll.structure'"""class TestEmployee(common.TransactionCase):def setUp(self):# add env on cls and many other thingssuper(TestEmployee, self).setUp()user_id = self.env["res.users"].search([])[0].idemp = self.env["hr.employee"].search([("name", "=", "Abigail Peterson")]) # demo dataif not emp:emp = self.env["hr.employee"].search([("user_id", "=", 2)])if not emp:emp = self.env["hr.employee"].create({"user_id": user_id, "name": "Fritz"})self.emp = empdef test_can_open(self):records = self.env["hr.employee"].search([])# payroll is installed# nevertheless the following line crashes# if I add that same line outside of a test# it loads finestructure = self.env["hr.payroll.structure"] # <------------------- diesassert records
Bests
Hi there I try to add some functionality to the payroll. Now when I try to access the payroll stuff from within a test like so: self.env['hr.payroll.structure'] I get a traceback: Traceback (most recent call last): Debug Console, prompt 68, line 1 import base64 File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/api.py", line 463, in __getitem__ return self.registry[model_name]._browse(self, (), ()) File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/modules/registry.py", line 177, in __getitem__ return self.models[model_name] builtins.KeyError: 'hr.payroll.structure' However, when I do exactly the same when not being in a unittest, everything works fine. What could be the reason? I am running on an ubuntu: Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal using Python: python Python 3.8.2 (default, Feb 25 2020, 13:04:52) [GCC 9.2.1 20200224] on linux thanks for your input Robert
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Simone Orsi
Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Petar Najman - 10:40 - 29 Jul 2021 -
Re: odoo13 unittest: installed modules not available while testing
Thanks Simone
On 29.07.21 08:42, Simone Orsi wrote:
Here it is, with some explanationsHi,
without your test class it is hard to guess what's wrong ;)
Can you provide it?
import base64from odoo.tests import common"""# started with:bin/odoo -c etc/odoo.cfg# stopped in the debugger:self.env.cr.dbname'odoo13'self.env['hr.payroll.structure']hr.payroll.structure()# started with:bin/odoo -c etc/odoo.cfg -u aba_connector --test-enable --stop-after-ini# stopped in the debugger:self.env.cr.dbname'odoo13'self.env['hr.payroll.structure']Traceback (most recent call last):Debug Console, prompt 80, line 1import base64File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/api.py", line 463, in __getitem__return self.registry[model_name]._browse(self, (), ())File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/modules/registry.py", line 177, in __getitem__return self.models[model_name]builtins.KeyError: 'hr.payroll.structure'"""class TestEmployee(common.TransactionCase):def setUp(self):# add env on cls and many other thingssuper(TestEmployee, self).setUp()user_id = self.env["res.users"].search([])[0].idemp = self.env["hr.employee"].search([("name", "=", "Abigail Peterson")]) # demo dataif not emp:emp = self.env["hr.employee"].search([("user_id", "=", 2)])if not emp:emp = self.env["hr.employee"].create({"user_id": user_id, "name": "Fritz"})self.emp = empdef test_can_open(self):records = self.env["hr.employee"].search([])# payroll is installed# nevertheless the following line crashes# if I add that same line outside of a test# it loads finestructure = self.env["hr.payroll.structure"] # <------------------- diesassert records
Bests
Hi there I try to add some functionality to the payroll. Now when I try to access the payroll stuff from within a test like so: self.env['hr.payroll.structure'] I get a traceback: Traceback (most recent call last): Debug Console, prompt 68, line 1 import base64 File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/api.py", line 463, in __getitem__ return self.registry[model_name]._browse(self, (), ()) File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/modules/registry.py", line 177, in __getitem__ return self.models[model_name] builtins.KeyError: 'hr.payroll.structure' However, when I do exactly the same when not being in a unittest, everything works fine. What could be the reason? I am running on an ubuntu: Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal using Python: python Python 3.8.2 (default, Feb 25 2020, 13:04:52) [GCC 9.2.1 20200224] on linux thanks for your input Robert
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Simone Orsi
Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by robert - 10:31 - 29 Jul 2021 -
Re: New set of module "Requests".
Hi,"request" also sounds misleading to me and overlaps with the modules Pedro pointed out, one more proposal: "solicitude".My 2 cents,El jue, 29 jul 2021 a las 9:56, Pedro M. Baeza (Tecnativa) (<pedro.baeza@tecnativa.com>) escribió:What about `request_document`?_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Lois Rilo AnteloOdoo consultant at ForgeFlow S.L.
by Lois Rilo Antelo - 10:06 - 29 Jul 2021 -
Propose João Marques as PSC for several areas
Hi all,It's been a while since my colleague João is with us, and he has done a lot of work in several areas, so I'm requesting if you consider his inclusion in the proper PSCs. Here you have the pull requests he has made on such PSCs:Tools:
https://github.com/OCA/calendar/pull/29
https://github.com/OCA/interface-github/pull/73
https://github.com/OCA/interface-github/pull/72
https://github.com/OCA/odoo-module-migrator/pull/55
https://github.com/OCA/odoo-module-migrator/pull/53
https://github.com/OCA/server-auth/pull/250
https://github.com/OCA/server-auth/pull/249
https://github.com/OCA/server-auth/pull/242
https://github.com/OCA/server-auth/pull/241
https://github.com/OCA/server-tools/pull/1920
https://github.com/OCA/server-ux/pull/365Document:
https://github.com/OCA/dms/pull/115
https://github.com/OCA/dms/pull/47But also a lot of reviews:
https://github.com/OCA/dms/pull/51
https://github.com/OCA/dms/pull/67
https://github.com/OCA/dms/pull/71
https://github.com/OCA/dms/pull/75
https://github.com/OCA/dms/pull/92
https://github.com/OCA/dms/pull/100
https://github.com/OCA/dms/pull/112Banking:
https://github.com/OCA/account-payment/pull/427
https://github.com/OCA/account-payment/pull/401
https://github.com/OCA/account-payment/pull/384
https://github.com/OCA/account-payment/pull/383
https://github.com/OCA/account-reconcile/pull/370
https://github.com/OCA/account-reconcile/pull/367
https://github.com/OCA/bank-payment/pull/817
https://github.com/OCA/bank-payment/pull/816
https://github.com/OCA/bank-payment/pull/802
https://github.com/OCA/bank-payment/pull/798
https://github.com/OCA/bank-payment/pull/797
https://github.com/OCA/bank-payment/pull/796
https://github.com/OCA/bank-payment/pull/795
https://github.com/OCA/bank-payment/pull/786
https://github.com/OCA/bank-payment/pull/783
https://github.com/OCA/bank-payment/pull/782
https://github.com/OCA/bank-statement-import/pull/365
https://github.com/OCA/bank-statement-import/pull/354
https://github.com/OCA/bank-statement-import/pull/322Accounting:
https://github.com/OCA/account-financial-reporting/pull/783
https://github.com/OCA/account-financial-reporting/pull/782
https://github.com/OCA/account-financial-reporting/pull/781
https://github.com/OCA/account-financial-reporting/pull/780
https://github.com/OCA/account-financial-reporting/pull/777
https://github.com/OCA/account-financial-reporting/pull/775
https://github.com/OCA/account-financial-reporting/pull/758
https://github.com/OCA/account-financial-reporting/pull/749
https://github.com/OCA/account-financial-tools/pull/1183
https://github.com/OCA/account-financial-tools/pull/1151
https://github.com/OCA/account-financial-tools/pull/1112
https://github.com/OCA/account-invoice-reporting/pull/166
https://github.com/OCA/account-invoice-reporting/pull/155
https://github.com/OCA/account-invoice-reporting/pull/152
https://github.com/OCA/account-invoicing/pull/978
https://github.com/OCA/account-invoicing/pull/976
https://github.com/OCA/account-invoicing/pull/908
https://github.com/OCA/account-invoicing/pull/895
https://github.com/OCA/account-invoicing/pull/856
https://github.com/OCA/credit-control/pull/115
https://github.com/OCA/account-analytic/pull/366Thanks for considering it.
Regards.
by Pedro M. Baeza - 10:00 - 29 Jul 2021 -
Re: New set of module "Requests".
What about `request_document`?
by Pedro M. Baeza - 09:55 - 29 Jul 2021 -
Re: New set of module "Requests".
I am also thinking about "hr_request", "hr_request_???". Because I think it towards end users / employee use.But says, we have hr_request_purchase_request, hr_request_stock_request, it might sound weird.On Thu, Jul 29, 2021 at 2:42 PM Simone Orsi <simahawk@gmail.com> wrote:Hello there :)Can we avoid using "request" as name? As we are on a web app this clashes w/ the base concept of `request`.Any better specific name?CheersOn Thu, Jul 29, 2021 at 9:37 AM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:OK, thanks for the explanation. I think we already have some of this as a specific thing (purchase_request, stock_request), and this can be a generalization, and they can maybe be derived from this one in the future.Please don't use plurals in module names though. Call it `request`.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Kitti Upariphutthiphong - 09:46 - 29 Jul 2021 -
Re: New set of module "Requests".
On Thu, Jul 29, 2021 at 9:39 AM Simone Orsi <simahawk@gmail.com> wrote:Hello there :)Can we avoid using "request" as name? As we are on a web app this clashes w/ the base concept of `request`.Any better specific name?CheersOn Thu, Jul 29, 2021 at 9:37 AM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:OK, thanks for the explanation. I think we already have some of this as a specific thing (purchase_request, stock_request), and this can be a generalization, and they can maybe be derived from this one in the future.Please don't use plurals in module names though. Call it `request`.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source.
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source.
by Simone Orsi - 09:41 - 29 Jul 2021 -
Re: New set of module "Requests".
Hello there :)Can we avoid using "request" as name? As we are on a web app this clashes w/ the base concept of `request`.Any better specific name?CheersOn Thu, Jul 29, 2021 at 9:37 AM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:OK, thanks for the explanation. I think we already have some of this as a specific thing (purchase_request, stock_request), and this can be a generalization, and they can maybe be derived from this one in the future.Please don't use plurals in module names though. Call it `request`.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source.
by Simone Orsi - 09:41 - 29 Jul 2021 -
Re: New set of module "Requests".
OK, thanks for the explanation. I think we already have some of this as a specific thing (purchase_request, stock_request), and this can be a generalization, and they can maybe be derived from this one in the future.Please don't use plurals in module names though. Call it `request`.Regards.
by Pedro M. Baeza - 09:35 - 29 Jul 2021 -
Re: New set of module "Requests".
They are quite different.You can think of Request (request.request) as a new kind of document, by itself, at the same time you can add multiple child documents (so itself act like an envelope).The request document also uses base_tier_validations as the validation engine (requests_tier_validation).On Thu, Jul 29, 2021 at 2:16 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:What is the difference between these requests/approvals and tier validations?_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Kitti Upariphutthiphong - 09:26 - 29 Jul 2021 -
Re: New set of module "Requests".
What is the difference between these requests/approvals and tier validations?
by Pedro M. Baeza - 09:11 - 29 Jul 2021 -
New set of module "Requests".
Dear community,Currently I am working on a set of modules which we call "Requests" for a project. And want to check whether there is interest in these modules.At the surface it is quite similar to the "Approvals" of Odoo Enterprise. But in more detail it is like Approvals + Goodies of OCA. So I would say, it is a much better version of the Approvals.The current list of modules are,- requests --> the base module. You can think of it as the envelope where the user will put in their one or many requests and pass through the approval process in one go.
- requests_tier_validation -> extend request for base_tier_validation
- requests_exception -> extend request for base_exception
- requests_custom_info -> extend request for base_custom_info
- requests_operating_unit -> extend for operating_unit
- requests_???
And more documents that can be in the request envelope.- requests_hr_expense -> allow adding expense inside the request envelope
- requests_hr_advance --> allow adding employee advance inside the request envelope
- requests_purchase_request -> allow adding PR inside the request envelope
- requests_???
Small organizations may not need this, but I think bigger organizations that need more control might find it useful, whether it is Expense Request, Purchase Request, Vacation Request, or even Request to create master data, etc...- As a central place for all requests, and approval progress (instead of going through many documents).
- Streamline the way users go through approval process (by using tier validation, or any other extension in the future)
- Approval can be done for the combined amounts of all their requests for the same, ie.., Trip. (instead of fragmented by document)
- The request (as a template) controls how data in documents are filled. For example, a "Taxi Expense Request", helps create an Expense Sheet with all data filled, except amount.
My question is, which Repo should these modules go to? Or should it has a new repo. (I think it is more employee self service like).ThanksKitti U.
by Kitti Upariphutthiphong - 09:01 - 29 Jul 2021 -
Re: Proposing myself for Logistics PSC
Great and welcome to this PSC! ;-)On Thu, Jul 29, 2021 at 8:52 AM Sebastien Alix <sebastien.alix@camptocamp.com> wrote:Thank you all, it's all good :)
Cheers!
Le 28/07/2021 à 09:37, Simone Orsi a écrit :
We are on it. There's an issue on his partner company setup.
I'm in touch w/ him of course ;)
On Wed, Jul 28, 2021 at 8:47 AM Roussel, Denis <denis.roussel@acsone.eu> wrote:
@Stéphane can you add him to the PSC ?
Thanks
On Tue, Jul 27, 2021 at 4:07 PM Raphaël Reverdy <raphael.reverdy@akretion.com> wrote:
+1
Le mar. 27 juil. 2021 à 09:37, Enric Tobella Alomar <etobella@creublanca.es> a écrit :
+1Enric Tobella AlomarDesarrolloAv. J. V. Foix 6308034 BarcelonaTlf. 932 522 522 (Ext. 1621)From: Alex Comba <alex.comba@agilebg.com>
To: "Contributors" <contributors@odoo-community.org>
Date: Tue, 27 Jul 2021 07:07:26 -0000
Subject: Re: Proposing myself for Logistics PSC
+1On Mon, Jul 26, 2021 at 5:46 PM Sebastien Alix <sebastien.alix@camptocamp.com> wrote:Hi everyone, I would like to be part of the Logistics PSC. I contribute to OCA for some years now and lately I was especially involved in the WMS stack. https://github.com/sebalix/ https://github.com/OCA/wms/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+ https://github.com/OCA/stock-logistics-workflow/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+ https://github.com/OCA/delivery-carrier/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+ Kind regards, -- Sébastien Alix Business Solutions Odoo Developer Camptocamp France SA https://www.camptocamp.com/
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe--Alex Comba
Tel (CH): +41 91 210 23 40_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
pueden contener información reservada y/o confidencial, destinada exclusivamente
para el uso del destinatario o la persona responsable de entregarlo al mismo,
estando su uso no autorizado prohibido legalmente.
Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
salvo ratificación escrita por ambas partes. En caso de su recepción por error,
rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
a su eliminación.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Raphaël Reverdy
Mobile +33 6 38 02 03 93
Fixe +33 4 82 53 84 60_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
__________________________________________
Denis Roussel
Software Engineer
Acsone SA, Succursale de Liège (Val Benoît)
Tel : +32 2 888 31 49
Fax : +32 2 888 31 59
Gsm : +32 472 22 00 57Acsone sa/nv
Boulevard de la Woluwe 56 Woluwedal | B-1200 Brussels | BelgiumQuai Banning, 6 (Val Benoît) | B-4000 Liège | Belgium
Zone Industrielle 22 | L-8287 Kehlen | Luxembourg_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Simone Orsi
Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Sébastien Alix Business Solutions Odoo Developer Camptocamp France SA https://www.camptocamp.com/
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--__________________________________________
Denis Roussel
Software Engineer
Acsone SA, Succursale de Liège (Val Benoît)
Tel : +32 2 888 31 49
Fax : +32 2 888 31 59
Gsm : +32 472 22 00 57Acsone sa/nv
Boulevard de la Woluwe 56 Woluwedal | B-1200 Brussels | BelgiumQuai Banning, 6 (Val Benoît) | B-4000 Liège | Belgium
Zone Industrielle 22 | L-8287 Kehlen | Luxembourg
by Denis Roussel - 09:01 - 29 Jul 2021 -
Re: Proposing myself for Logistics PSC
Thank you all, it's all good :)
Cheers!
Le 28/07/2021 à 09:37, Simone Orsi a écrit :
We are on it. There's an issue on his partner company setup.
I'm in touch w/ him of course ;)
On Wed, Jul 28, 2021 at 8:47 AM Roussel, Denis <denis.roussel@acsone.eu> wrote:
@Stéphane can you add him to the PSC ?
Thanks
On Tue, Jul 27, 2021 at 4:07 PM Raphaël Reverdy <raphael.reverdy@akretion.com> wrote:
+1
Le mar. 27 juil. 2021 à 09:37, Enric Tobella Alomar <etobella@creublanca.es> a écrit :
+1Enric Tobella AlomarDesarrolloAv. J. V. Foix 6308034 BarcelonaTlf. 932 522 522 (Ext. 1621)From: Alex Comba <alex.comba@agilebg.com>
To: "Contributors" <contributors@odoo-community.org>
Date: Tue, 27 Jul 2021 07:07:26 -0000
Subject: Re: Proposing myself for Logistics PSC
+1On Mon, Jul 26, 2021 at 5:46 PM Sebastien Alix <sebastien.alix@camptocamp.com> wrote:Hi everyone, I would like to be part of the Logistics PSC. I contribute to OCA for some years now and lately I was especially involved in the WMS stack. https://github.com/sebalix/ https://github.com/OCA/wms/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+ https://github.com/OCA/stock-logistics-workflow/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+ https://github.com/OCA/delivery-carrier/pulls?q=is%3Apr+author%3Asebalix+sort%3Aupdated-desc+ Kind regards, -- Sébastien Alix Business Solutions Odoo Developer Camptocamp France SA https://www.camptocamp.com/
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe--Alex Comba
Tel (CH): +41 91 210 23 40_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
pueden contener información reservada y/o confidencial, destinada exclusivamente
para el uso del destinatario o la persona responsable de entregarlo al mismo,
estando su uso no autorizado prohibido legalmente.
Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
salvo ratificación escrita por ambas partes. En caso de su recepción por error,
rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
a su eliminación.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Raphaël Reverdy
Mobile +33 6 38 02 03 93
Fixe +33 4 82 53 84 60_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
__________________________________________
Denis Roussel
Software Engineer
Acsone SA, Succursale de Liège (Val Benoît)
Tel : +32 2 888 31 49
Fax : +32 2 888 31 59
Gsm : +32 472 22 00 57Acsone sa/nv
Boulevard de la Woluwe 56 Woluwedal | B-1200 Brussels | BelgiumQuai Banning, 6 (Val Benoît) | B-4000 Liège | Belgium
Zone Industrielle 22 | L-8287 Kehlen | Luxembourg_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Simone Orsi
Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Sébastien Alix Business Solutions Odoo Developer Camptocamp France SA https://www.camptocamp.com/
by Sébastien Alix - 08:51 - 29 Jul 2021 -
Re: odoo13 unittest: installed modules not available while testing
Hi,without your test class it is hard to guess what's wrong ;)Can you provide it?BestsHi there I try to add some functionality to the payroll. Now when I try to access the payroll stuff from within a test like so: self.env['hr.payroll.structure'] I get a traceback: Traceback (most recent call last): Debug Console, prompt 68, line 1 import base64 File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/api.py", line 463, in __getitem__ return self.registry[model_name]._browse(self, (), ()) File "/home/robert/projects/odoo13/odoo13/downloads/odoo-13.0.post20201211/odoo/modules/registry.py", line 177, in __getitem__ return self.models[model_name] builtins.KeyError: 'hr.payroll.structure' However, when I do exactly the same when not being in a unittest, everything works fine. What could be the reason? I am running on an ubuntu: Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal using Python: python Python 3.8.2 (default, Feb 25 2020, 13:04:52) [GCC 9.2.1 20200224] on linux thanks for your input Robert
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source.
by Simone Orsi - 08:40 - 29 Jul 2021