[MERGE] l10n_be: add translation of belgian chart of accounts in Flemish
requires merge 5049 in server 7.0 (support of i18n_extra folder) requires l10n_multilang preinstalled before l10n_be (to add translatable fields) move l10n_be_wizard.yml to l10n_be_hr_payroll_account (requires an accounting plan installed to import data) set action wizard for multichart selection opened add translation of chart of account into nl_BE, courtesy of Geert Janssens point_of_sale: fix default journal selection for config (broken runbot test) lp bug: https://launchpad.net/bugs/1189865 fixed bzr revid: mat@openerp.com-20130814153028-f0rj5truwrlqgrxe
This commit is contained in:
commit
f9ddd354bd
|
@ -58,6 +58,7 @@ Wizards provided by this module:
|
|||
'base_iban',
|
||||
'account_chart',
|
||||
'l10n_be_coda',
|
||||
#'l10n_multilang', uncomment for version > 7.0
|
||||
],
|
||||
'data': [
|
||||
'account_financial_report.xml',
|
||||
|
@ -68,11 +69,11 @@ Wizards provided by this module:
|
|||
'wizard/l10n_be_account_vat_declaration_view.xml',
|
||||
'wizard/l10n_be_vat_intra_view.xml',
|
||||
'wizard/l10n_be_partner_vat_listing.xml',
|
||||
'wizard/account_wizard.xml',
|
||||
'l10n_be_sequence.xml',
|
||||
'fiscal_templates.xml',
|
||||
'account_fiscal_position_tax_template.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'l10n_be_wizard.yml'
|
||||
],
|
||||
'demo': [],
|
||||
'installable': True,
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
<field name="property_account_payable" ref="a_pay"/>
|
||||
<field name="property_account_expense_categ" ref="a_expense"/>
|
||||
<field name="property_account_income_categ" ref="a_sale"/>
|
||||
<field name="spoken_languages" eval="'nl_BE'"/>
|
||||
</record>
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
|||
<openerp>
|
||||
<data noupdate="1">
|
||||
<record id="account.action_wizard_multi_chart_todo" model="ir.actions.todo">
|
||||
<field name="state">open</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
|
@ -32,6 +32,7 @@ Accounting Data for Belgian Payroll Rules.
|
|||
'auto_install': True,
|
||||
'demo': [],
|
||||
'data':[
|
||||
'l10n_be_wizard.yml',
|
||||
'l10n_be_hr_payroll_account_data.xml',
|
||||
'data/hr.salary.rule.csv',
|
||||
],
|
||||
|
|
|
@ -109,7 +109,8 @@ class pos_config(osv.osv):
|
|||
return result
|
||||
|
||||
def _default_sale_journal(self, cr, uid, context=None):
|
||||
res = self.pool.get('account.journal').search(cr, uid, [('type', '=', 'sale')], limit=1)
|
||||
company_id = self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id
|
||||
res = self.pool.get('account.journal').search(cr, uid, [('type', '=', 'sale'), ('company_id', '=', company_id)], limit=1, context=context)
|
||||
return res and res[0] or False
|
||||
|
||||
def _default_shop(self, cr, uid, context=None):
|
||||
|
|
Loading…
Reference in New Issue