}
new_paid_tax_code_temp = obj_tax_code_temp.create(cr, uid, vals_paid_tax_code_temp, context=context)
sales_tax_temp = obj_tax_temp.create(cr, uid, {
- 'name': _('TAX %s%%') % (s_tax*100),
+ 'name': _('Sale TAX %s%%') % (s_tax*100),
'amount': s_tax,
'base_code_id': new_tax_code_temp,
'tax_code_id': new_paid_tax_code_temp,
}
new_paid_tax_code_temp = obj_tax_code_temp.create(cr, uid, vals_paid_tax_code_temp, context=context)
purchase_tax_temp = obj_tax_temp.create(cr, uid, {
- 'name': _('TAX %s%%') % (p_tax*100),
- 'description': _('TAX %s%%') % (p_tax*100),
+ 'name': _('Purchase TAX %s%%') % (p_tax*100),
'amount': p_tax,
'base_code_id': new_tax_code_temp,
'tax_code_id': new_paid_tax_code_temp,
account_installer()
-class account_installer_modules(osv.osv_memory):
- _inherit = 'base.setup.installer'
- _columns = {
- 'account_analytic_plans': fields.boolean('Multiple Analytic Plans',
- help="Allows invoice lines to impact multiple analytic accounts "
- "simultaneously."),
- 'account_payment': fields.boolean('Suppliers Payment Management',
- help="Streamlines invoice payment and creates hooks to plug "
- "automated payment systems in."),
- 'account_followup': fields.boolean('Followups Management',
- help="Helps you generate reminder letters for unpaid invoices, "
- "including multiple levels of reminding and customized "
- "per-partner policies."),
- 'account_anglo_saxon': fields.boolean('Anglo-Saxon Accounting',
- help="This module will support the Anglo-Saxons accounting methodology by "
- "changing the accounting logic with stock transactions."),
- 'account_asset': fields.boolean('Assets Management',
- help="Helps you to manage your assets and their depreciation entries."),
- }
-
-account_installer_modules()
-
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: