[MERGE] forward port branch saas-14 up to dcdbccbb6d

This commit is contained in:
Christophe Simonis
2017-12-14 15:46:54 +01:00
4 changed files with 21 additions and 24 deletions
+1 -2
View File
@@ -89,8 +89,6 @@ class AccountConfigSettings(models.TransientModel):
'chart_template_id': self.chart_template_id.id,
'transfer_account_id': self.chart_template_id.transfer_account_id.id,
'code_digits': self.code_digits or 6,
'sale_tax_id': self.default_sale_tax_id.id,
'purchase_tax_id': self.default_purchase_tax_id.id,
'sale_tax_rate': 15.0,
'purchase_tax_rate': 15.0,
'complete_tax_set': self.chart_template_id.complete_tax_set,
@@ -98,6 +96,7 @@ class AccountConfigSettings(models.TransientModel):
'bank_account_code_prefix': self.chart_template_id.bank_account_code_prefix,
'cash_account_code_prefix': self.chart_template_id.cash_account_code_prefix,
})
wizard.onchange_chart_template_id()
wizard.execute()
@api.onchange('group_analytic_accounting')
@@ -2,17 +2,15 @@
<record id="view_general_fr_inalterability_inherit_config" model="ir.ui.view">
<field name="name">Inalterability settings</field>
<field name="model">base.config.settings</field>
<field name="inherit_id" ref="base_setup.view_general_configuration"/>
<field name="inherit_id" ref="base_setup.base_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='company_share_ressources']" position="before">
<group>
<label for="id" string="Data Inalterability"/>
<div>
<button name="%(l10n_fr_certification.action_check_hash_integrity)d" type="action" string="Data Inalterability Check" class="oe_link"/>
<button name="%(l10n_fr_certification.odoo_french_certification)d" type="action" string="Get the certification now!" class="oe_link"/>
</div>
</group>
</xpath>
<xpath expr="//field[@name='group_multi_company']/../../.." position="after">
<h2>Data Inalterability</h2>
<div class="row mt16 o_settings_container">
<button name="%(l10n_fr_certification.action_check_hash_integrity)d" type="action" string="Data Inalterability Check" class="oe_link"/>
<button name="%(l10n_fr_certification.odoo_french_certification)d" type="action" string="Get the certification now!" class="oe_link"/>
</div>
</xpath>
</field>
</record>
</odoo>
</odoo>
@@ -5,20 +5,20 @@
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="model" eval="'account.sale.closing'"/>
<field name="function" eval="'_automated_closing'"/>
<field name="args" eval="'(\'daily\',)'" />
<field name="model_id" ref="model_account_sale_closing"/>
<field name="state">code</field>
<field name="code">model._automated_closing('daily')</field>
</record>
<record model="ir.cron" id="account_sale_closing_monthly">
<field name="name">Generate Monthly Sales Closing</field>
<field name="interval_number">1</field>
<field name="interval_type">months</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="model" eval="'account.sale.closing'"/>
<field name="function" eval="'_automated_closing'"/>
<field name="args" eval="'(\'monthly\',)'" />
<field name="model_id" ref="model_account_sale_closing"/>
<field name="state">code</field>
<field name="code">model._automated_closing('monthly')</field>
</record>
<record model="ir.cron" id="account_sale_closing_annually">
@@ -27,9 +27,9 @@
<field name="interval_type">months</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="model" eval="'account.sale.closing'"/>
<field name="function" eval="'_automated_closing'"/>
<field name="args" eval="'(\'annually\',)'" />
<field name="model_id" ref="model_account_sale_closing"/>
<field name="state">code</field>
<field name="code">model._automated_closing('annually')</field>
</record>
</odoo>
+1 -1
View File
@@ -35,7 +35,7 @@ base.lang_de_CH,"German (CH) / Deutsch (CH)",de_CH,de_CH,"Left-to-Right","[3,3]"
"base.lang_it","Italian / Italiano","it_IT","it","Left-to-Right","[3,0]",",",".","%d/%m/%Y","%H:%M:%S","True"
"base.lang_ja_JP","Japanese / 日本語","ja_JP","ja_JP","Left-to-Right","[3,0]",".",",","%Y年%m月%d日","%H時%M分%S秒","True"
"base.lang_kab_DZ","Kabyle / Taqbaylit","kab_DZ","kab_DZ","Left-to-Right","[]",".",",","%m/%d/%Y","%I:%M:%S %p","True"
"base.lang_km","Khmer / ភាសាខ្មែរ","km_KM","km","Left-to-Right","[3,0]",".",",","%d %B %Y","%H:%M:%S","True"
"base.lang_km","Khmer / ភាសាខ្មែរ","km_KH","km","Left-to-Right","[3,0]",".",",","%d %B %Y","%H:%M:%S","True"
"base.lang_ko_KP","Korean (KP) / 한국어 (KP)","ko_KP","ko_KP","Left-to-Right","[3,0]",".",",","%m/%d/%Y","%I:%M:%S %p","True"
"base.lang_ko_KR","Korean (KR) / 한국어 (KR)","ko_KR","ko_KR","Left-to-Right","[3,0]",".",",","%Y년 %m월 %d일","%H시 %M분 %S초","True"
"base.lang_lo_LA","Lao / ພາສາລາວ","lo_LA","lo_LA","Left-to-Right","[3,0]",".",",","%d/%m/y","%H:%M:%S","True"
1 id name code iso_code direction grouping decimal_point thousands_sep date_format time_format translatable
35 base.lang_it Italian / Italiano it_IT it Left-to-Right [3,0] , . %d/%m/%Y %H:%M:%S True
36 base.lang_ja_JP Japanese / 日本語 ja_JP ja_JP Left-to-Right [3,0] . , %Y年%m月%d日 %H時%M分%S秒 True
37 base.lang_kab_DZ Kabyle / Taqbaylit kab_DZ kab_DZ Left-to-Right [] . , %m/%d/%Y %I:%M:%S %p True
38 base.lang_km Khmer / ភាសាខ្មែរ km_KM km_KH km Left-to-Right [3,0] . , %d %B %Y %H:%M:%S True
39 base.lang_ko_KP Korean (KP) / 한국어 (KP) ko_KP ko_KP Left-to-Right [3,0] . , %m/%d/%Y %I:%M:%S %p True
40 base.lang_ko_KR Korean (KR) / 한국어 (KR) ko_KR ko_KR Left-to-Right [3,0] . , %Y년 %m월 %d일 %H시 %M분 %S초 True
41 base.lang_lo_LA Lao / ພາສາລາວ lo_LA lo_LA Left-to-Right [3,0] . , %d/%m/y %H:%M:%S True