forked from OpenG2P/openg2p-program
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PMT: Enabled JSON library inside compute field
- Loading branch information
Showing
4 changed files
with
13 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
from . import registrant | ||
from . import program_registrant_info | ||
from . import program_membership | ||
from . import entitlement | ||
from . import eligibility_manager | ||
from . import entitlement_manager | ||
from . import ir_model | ||
from . import program_membership | ||
from . import program_registrant_info | ||
from . import registrant |
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,7 @@ | ||
from odoo.tools.safe_eval import wrap_module | ||
|
||
from odoo.addons.base.models import ir_model | ||
|
||
ir_model.SAFE_EVAL_BASE.update( | ||
{"json": wrap_module(__import__("json"), ["loads", "dumps"])} | ||
) |
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