[FIX] l10n_fr,l10n_lu: Missing wizard actions

bzr revid: mra@mra-laptop-20100818110246-a3o6nzc3koi4j99u
This commit is contained in:
Mustufa Rangwala 2010-08-18 16:32:46 +05:30
parent 29fb358087
commit 3905013318
5 changed files with 26 additions and 1 deletions

View File

@ -40,6 +40,7 @@ Credits: Sistheo Zeekom CrysaLEAD
"update_xml" : [
"fr_report_demo.xml",
"plan_comptable_general_demo.xml",
"l10n_fr_wizard.xml",
"fr_pcg_taxes_demo.xml",
"fr_tax_demo.xml",
"fr_fiscal_templates_demo.xml",
@ -47,6 +48,7 @@ Credits: Sistheo Zeekom CrysaLEAD
"security/ir.model.access.csv",
"wizard/fr_report_bilan_view.xml",
"wizard/fr_report_compute_resultant_view.xml",
],
"demo_xml" : [],
"certificate" : "00435321693876313629",

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<openerp>
<data>
<record id="config_call_account_template_fr" model="ir.actions.todo">
<field name="action_id" ref="account.action_wizard_multi_chart"/>
<field name="restart">onskip</field>
</record>
</data>
</openerp>

View File

@ -37,6 +37,7 @@ This module installs:
'update_xml': [
'account.tax.code.template.csv',
'l10n_lu_data.xml',
'l10n_lu_wizard.xml',
'account.tax.template.csv',
'wizard/print_vat_view.xml'
],

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<openerp>
<data>
<record id="config_call_account_template_lu" model="ir.actions.todo">
<field name="action_id" ref="account.action_wizard_multi_chart"/>
<field name="restart">onskip</field>
</record>
</data>
</openerp>

View File

@ -276,7 +276,7 @@ class sale_order(osv.osv):
'invoice_quantity': fields.selection([('order', 'Ordered Quantities'), ('procurement', 'Shipped Quantities')], 'Invoice on', help="The sale order will automatically create the invoice proposition (draft invoice). Ordered and delivered quantities may not be the same. You have to choose if you invoice based on ordered or shipped quantities. If the product is a service, shipped quantities means hours spent on the associated tasks.", required=True),
'payment_term': fields.many2one('account.payment.term', 'Payment Term'),
'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position'),
'company_id': fields.related('shop_id','company_id',type='many2one',relation='res.company',string='Company',store=True, required=True)
'company_id': fields.related('shop_id','company_id',type='many2one',relation='res.company',string='Company',store=True)
}
_defaults = {
'company_id': lambda s, cr, uid, c: s.pool.get('res.company')._company_default_get(cr, uid, 'sale.order', context=c),