Full re-design of intrastat types : probably requires deleting the report_intrastat_type table, restarting OpenERP and re-creating intrastat types.
Moved intrastat departments from stock.warehouse to stock.location.
Dropped SQL queries ; replaced by traditionnal python code logic. No more need to have one rate per day for invoices with foreign currency.
Add total fiscal value for DEB
More code factorization.
Prepare translation work.
'intrastat':fields.boolean('Intrastat member',help="Set as True for countries that must be selected in the intrastat reports, i.e. for all European Union countries other than your own country."),
raiseosv.except_osv(_('Error :'),_("The company '%s' should have a VAT number starting with 'FR' on it's related partner. Its current VAT number is '%s'."%(intrastat.company_id.name,intrastat.company_id.partner_id.vat)))
raiseosv.except_osv(_('Error :'),_("The company '%s' should have a VAT number starting with 'FR' on it's related partner. Its current VAT number is '%s'.")%(intrastat.company_id.name,intrastat.company_id.partner_id.vat))
raiseosv.except_osv(_('Error :'),_('The generated XML file is not valid against the official XML schema. The generated XML file and the full error have been written in the server logs. Here is the exact error, which may give you an idea of the cause of the problem : '+str(e)))
raiseosv.except_osv(_('Error :'),_('The generated XML file is not valid against the official XML Schema Definition. The generated XML file and the full error have been written in the server logs. Here is the error, which may give you an idea on the cause of the problem : %s.')%str(e))
'exclude_from_intrastat':fields.boolean('Exclude from Intrastat reports',help="If true, the product or service will not taken into account for Intrastat Product or Service reports. So you should leave this field to false unless you have a good reason. Exemple of good reason : 'Shipping' is a service that should probably be excluded from the Intrastat Service report."),
'exclude_from_intrastat':fields.boolean('Exclude from Intrastat reports',help="If set to True, the product or service will not be taken into account for Intrastat Product or Service reports. So you should leave this field to False unless you have a good reason. Exemple of good reason : 'Shipping' is a service that should probably be excluded from the Intrastat Service report."),