Created
March 29, 2015 06:36
-
-
Save nhomar/4c164283a235d9d52926 to your computer and use it in GitHub Desktop.
Yml Templates
This file contains hidden or 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
| - | |
| Setting Full width on theme_avantgarde. Due to the geniuses odoos guys I am | |
| trying to disable one and enable the oposite instead use the model method. | |
| - | |
| !python {model: ir.ui.view}: | | |
| self.write(cr, uid, [ref('theme_avantgarde.avantgarde_option_layout_fullwidth')], {'active': True}, context={'active_test': True}) | |
| self.write(cr, uid, [ref('theme_avantgarde.avantgarde_option_layout_boxed')], {'active': False}, context={'active_test': True}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment