profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/mlaitinen/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Miku Laitinen mlaitinen Avoin.Systems Riga, Latvia https://avoin.systems

mlaitinen/ofxstatement-revolut 5

ofxstatement plugin for parsing Revolut CSV bank statements

mlaitinen/qvsvnlogconnector 1

A Subversion commit log connector for Qlikview 11

mlaitinen/banking.statements.nordea 0

Parser to read TSV-formatted files exported from the Finnish Nordea e-banking service

mlaitinen/banking.statements.osuuspankki 0

Plugin for ofxstatement to read CSV files exported from the online banking service of the Finnish Osuuspankki bank.

mlaitinen/client_python 0

Prometheus instrumentation library for Python applications

mlaitinen/dockerfiles 0

Collection of lightweight and ready-to-use docker images

mlaitinen/intosuggest 0

A suggestion component for Joomla! based on obSuggest

mlaitinen/intotimeline 0

IntoTimeline is a fork of Artetics Timeline, which is a Simile Timeline wrapper for Joomla!

mlaitinen/InvientCharts 0

Invient Charts is a Vaadin add-on for creating interactive charts using Highcharts.

mlaitinen/kontena-stacks 0

Reusable Kontena Stacks

PR opened OCA/queue

[13.0] Vacuum done jobs in batch

Huge amount of jobs to delete may take a lot of time and the cron may crash, because of timeout for instance This issue would make the cron permanently run and permanently failing... Deleting batch allow to avoid this issue if the cron fails, it still will have delete some of the job history

This is just a cherry-pick from #313. The same problem affects 13.0 as well.

+13 -5

0 comment

1 changed file

pr created time in 3 days

create barnchavoinsystems/queue

branch : 13.0-backport-313

created branch time in 3 days

PR opened gintsmurans/ofxstatement-latvian

[FIX] Make the Swedbank parser compatible with ofxstatement 0.7.1

The parsing would fail in the assert_valid method because the + operator can't be used for float and Decimal variables (total amount).

$ ofxstatement convert -t swedbank statement\ \(2\).csv swedbank.ofx
Traceback (most recent call last):
  File "/home/miku/.local/bin/ofxstatement", line 8, in <module>
    sys.exit(run())
  File "/home/miku/.local/lib/python3.8/site-packages/ofxstatement/tool.py", line 195, in run
    return args.func(args)
  File "/home/miku/.local/lib/python3.8/site-packages/ofxstatement/tool.py", line 173, in convert
    statement.assert_valid()
  File "/home/miku/.local/lib/python3.8/site-packages/ofxstatement/statement.py", line 89, in assert_valid
    if not isclose(self.start_balance + total_amount, self.end_balance):
TypeError: unsupported operand type(s) for +: 'float' and 'decimal.Decimal'
+3 -6

0 comment

2 changed files

pr created time in a month

push eventmlaitinen/ofxstatement-latvian

Miku Laitinen

commit sha f554a86d89bf0976680d85a990990b1c9bf22171

[FIX] Make the Swedbank parser compatible with ofxstatement 0.7.1 The parsing would fail in the assert_valid method because the + operator can't be used for float and Decimal variables (total amount)

view details

push time in a month

create barnchmlaitinen/ofxstatement-latvian

branch : fix-number-format

created branch time in a month

fork mlaitinen/ofxstatement-latvian

Statement parsers for banks operating in Latvia

fork in a month

push eventavoinsystems/server-auth

Miku Laitinen

commit sha 571c31c67e8d54b0d8a126a2f29eda55b0c0ab02

[FEAT] auth_oauth_groups_microsoft 13.0.1.1.0: Allow importing a specific group's users from the Graph API as Odoo users

view details

push time in a month

issue commentodoo/odoo

[12] Oauth session expired when logging in on other device/browser

For anyone looking for a solution, try this amazing module by OCA: https://github.com/OCA/server-auth/tree/12.0/auth_oauth_multi_token

It allows you to have multiple OAuth Access Tokens and you will no longer be logged out when using >1 devices to access Odoo using OAuth.

Bart-DCBO

comment created time in 2 months

issue commentodoo/odoo

[13.0] Poor performance when a One2many field "is not set"

#30350 (Many2many) Related, but also unrelated.

mlaitinen

comment created time in 3 months

issue openedodoo/odoo

[13.0] Poor performance when a One2many field "is not set"

Impacted versions: 13.0

Steps to reproduce:

  1. Generate 250 000 records for model A (for instance products)
  2. Generate 400 000 records for model B which is a One2many relation for model A (for instances suppliers), all linked to model A records
  3. Go to the model A list view
  4. Search for records in which the One2many field referring to model B "is not set"

Current behavior:

Odoo will time out with any reasonable time limit. Here's a SQL query that Odoo generates from this search:

SELECT "product_template".id
FROM "product_template" 
WHERE 
"product_template"."id" not in (SELECT "product_tmpl_id" FROM "model_b" where "product_tmpl_id" is not null)

(company_id filtering, sorting and result limit omitted for clarity)

The query plan with LIMIT 80:

Limit  (cost=1000.44..448858.61 rows=80 width=31)
--
->  Gather Merge  (cost=1000.44..689355493.15 rows=123138 width=31)
Workers Planned: 2
->  Parallel Index Scan using product_template_name_index on product_template  (cost=0.42..689340279.95 rows=51308 width=31)
Filter: (NOT (SubPlan 1))
SubPlan 1
->  Materialize  (cost=0.00..12342.33 rows=436289 width=4)
->  Seq Scan on book_contribution  (cost=0.00..8455.89 rows=436289 width=4)
Filter: (product_tmpl_id IS NOT NULL)

Expected behavior:

Odoo handles this simple query in a matter of seconds.

The following query does the same thing lot faster:

SELECT product_templatet.id
FROM product_template
WHERE NOT EXISTS (SELECT * FROM model_b WHERE product_tmpl_id = product_template.id);

The query plan with LIMIT 80:

Limit  (cost=0.84..120.87 rows=80 width=4)
--
->  Merge Anti Join  (cost=0.84..147890.76 rows=98571 width=4)
Merge Cond: (product_template.id = book_contribution.product_tmpl_id)
->  Index Only Scan using product_template_pkey on product_template  (cost=0.42..114380.88 rows=246277 width=4)
->  Index Only Scan using book_contribution_product_tmpl_id_index on book_contribution  (cost=0.42..27440.57 rows=436289 width=4)

created time in 3 months

create barnchavoinsystems/server-tools

branch : 12.0-avoinsystems

created branch time in 3 months

push eventavoinsystems/server-tools

Cédric Pigeon

commit sha 7ef8a0442f69ad54745ef1dee589b1dc229ff09f

[10.0] add new module to manage technical user on company [CHG] add name to wml tag to make override easier [FIX] remove domain on active field

view details

OCA Transbot

commit sha b876d186823c0ada7b389221ed627800415c2148

OCA Transbot updated translations from Transifex OCA Transbot updated translations from Transifex

view details

Hugo Santos

commit sha d4654dbcedc3b5a2885637dc2eef5fbd768a2536

[MIG] base_technical_user to V11

view details

oca-travis

commit sha a81feee466bf7c18fa93ac609e9854352d69e1ca

[UPD] Update base_technical_user.pot

view details

Osoul

commit sha 85ec4d89b7f052feaee3d0bb5ff69a81aba01def

Added translation using Weblate (Arabic)

view details

Simone Orsi

commit sha 650c5efda44899ef0b0da22bbba80a57dee18414

Global pylint cleanup

view details

OCA-git-bot

commit sha 4ffe6b99b8e27c2eb8cd0c4500a748b9647aa00b

[ADD] icon.png

view details

Dave Lasley

commit sha 7eeb9dddcb5661a250e2e9c806c1fb4ecf5d1144

[ADD] base_locale_uom_default: Add default unit of measure by lang * Create module to allow for the selection of default units of measure at the language level.

view details

OCA Transbot

commit sha 129f00587ddb6e824225628b169be693a14cfa04

OCA Transbot updated translations from Transifex

view details

OCA Transbot

commit sha c99e00df5579b4513023c0442d982dcddd10f01d

OCA Transbot updated translations from Transifex

view details

oca-travis

commit sha dc3cd2b7775ee504cc15f45d4039d075b9b82392

[UPD] Update base_locale_uom_default.pot

view details

OCA-git-bot

commit sha 8ec1030f5b194fd8952e9c680e91f95fc8da3913

[ADD] icon.png

view details

David Beal

commit sha 3b0ac4cb98fc470ac5961f617448134f2664a9ca

FIX sql_request_abstract: b64encode use a Bytes like object

view details

Pedro M. Baeza

commit sha 268fa2c3e298b76083c65c10875e41e84930ad63

Merge pull request #1555 from akretion/12-fix-sql-abstarct FIX sql_request_abstract: b64encode use a Bytes like object

view details

oca-travis

commit sha a97d8d4f3a395bfeec3dfa488bfb8ec4e725ed16

[UPD] Update sql_request_abstract.pot

view details

Florian da Costa

commit sha 21d18bbd38fd60cc8efacb31561b41b4493c8903

Add sql export module (migration from v7) Add rollback after executing query as a double security with blacklist terms add known issue in readme

view details

Benoit

commit sha d3bffa4894e96481fa5db58157fbc7fd18b100df

[IMP] add support of variables in queries [FIX] encoding with mogrify [FIX] hide placeholder

view details

Mourad Elhadj Mimoune

commit sha 7cc9eef8f77632dce875c986506ea2bc3e369bbc

[MIG] Migrate module from 8.0 to 9.0

view details

Sylvain LE GAL

commit sha cfeb10038edbac672c3955ab88adea2a52954cb8

[REF] create a new module sql_request_abstract

view details

Florian da Costa

commit sha eaf649542fa7e67d75519d12f2976e73510878ab

Fix version

view details

push time in 3 months

push eventavoinsystems/connector-jira

Miku Laitinen

commit sha 12a6d8c17eb983f10bf2390d60ac16a049095841

[FIX] connector_jira: fix the assignee handling when using basic auth. Depending on settings on Jira, we might not have access to the accountId or emailAddress of a user when importing Jira issues as Odoo tasks. Add a setting on the Jira backend model that controls whether unidentified assignees are ignored or do we fail the import instead.

view details

push time in 3 months