forked from OCA/account-financial-reporting
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OCA#27 from fmdl/full_sql
Full sql
- Loading branch information
Showing
9 changed files
with
216 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import logging | ||
from odoo import SUPERUSER_ID | ||
logger = logging.getLogger('MIG compacted') | ||
from odoo import api | ||
|
||
|
||
def migrate(cr, v): | ||
with api.Environment.manage(): | ||
uid = SUPERUSER_ID | ||
ctx = api.Environment(cr, uid, {})['res.users'].context_get() | ||
env = api.Environment(cr, uid, ctx) | ||
|
||
cr.execute("""UPDATE account_account SET compacted = FALSE WHERE compacted IS NULL;""") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# import report_account_standard_report | ||
import report_account_standard_excel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.