server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

[FIX] base_multi_image_image hook

Open mileo opened this issue 5 years ago • 1 comments

2020-04-18 18:00:52,359 1672245 WARNING db openerp.addons.base.ir.ir_translation: module product_m2mcategories: no translation for language pt_BR
2020-04-18 18:00:52,387 1672245 ERROR db openerp.sql_db: Programming error: syntax error at or near "%"
LINE 10:                     %s,
                             ^
, in query 
                INSERT INTO base_multi_image_image (
                    owner_id,
                    owner_model,
                    storage,
                    file_db_store
                )
                SELECT
                    id,
                    %%s,
                    'db',
                    %(field)s
                FROM
                    %(table)s
                WHERE
                    %(field)s IS NOT NULL
            
2020-04-18 18:00:52,388 1672245 CRITICAL db openerp.service.server: Failed to initialize database `db`.

mileo avatar Apr 18 '20 18:04 mileo

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar May 19 '24 12:05 github-actions[bot]