[FIX] Translation Issue of Theme Selector Dropdown & Change Version of Flectra

This commit is contained in:
Chinmayi Vyas 2018-04-25 12:12:24 +05:30
parent 87a7112ce4
commit 97d6e4c58a
2 changed files with 3 additions and 3 deletions

View File

@ -31,8 +31,8 @@
<label class="col-md-3 o_light_label" for="website_theme_id"/> <label class="col-md-3 o_light_label" for="website_theme_id"/>
<field name="website_theme_id" <field name="website_theme_id"
options="{'no_create': True, 'no_open': True}" options="{'no_create': True, 'no_open': True}"
domain="['|', ('category_id.name', '=', 'Theme'), domain="['|', ('category_id', '=', %(base.module_category_theme)d),
('category_id.parent_id.name', '=', 'Theme')]"/> ('category_id.parent_id', '=', %(base.module_category_theme)d)]"/>
</div> </div>
</div> </div>
</div> </div>

View File

@ -12,7 +12,7 @@ RELEASE_LEVELS_DISPLAY = {ALPHA: ALPHA,
# properly comparable using normal operarors, for example: # properly comparable using normal operarors, for example:
# (6,1,0,'beta',0) < (6,1,0,'candidate',1) < (6,1,0,'candidate',2) # (6,1,0,'beta',0) < (6,1,0,'candidate',1) < (6,1,0,'candidate',2)
# (6,1,0,'candidate',2) < (6,1,0,'final',0) < (6,1,2,'final',0) # (6,1,0,'candidate',2) < (6,1,0,'final',0) < (6,1,2,'final',0)
version_info = (1, 1, 0, FINAL, 0, '') version_info = (1, 2, 0, FINAL, 0, '')
version = '.'.join(str(s) for s in version_info[:2]) + RELEASE_LEVELS_DISPLAY[version_info[3]] + str(version_info[4] or '') + version_info[5] version = '.'.join(str(s) for s in version_info[:2]) + RELEASE_LEVELS_DISPLAY[version_info[3]] + str(version_info[4] or '') + version_info[5]
series = serie = major_version = '.'.join(str(s) for s in version_info[:2]) series = serie = major_version = '.'.join(str(s) for s in version_info[:2])