Intrastat Product Reminder ${object.company_id.email or 'odoo@example.com'} ${object.company_id.intrastat_email_list} ${object.type} DEB ${object.year_month} for ${object.company_id.name}

I would like to remind you that we are approaching the deadline for the DEB for month ${object.year_month}.

As there were no ${object.type} DEB for that month in Odoo, a draft DEB has been generated automatically by Odoo.

% if ctx.get('exception'):

When trying to generate the lines of the ${object.declaration_type} DEB, the following error was encountered:

${ctx.get('error_msg')}

You should solve this error, then go to the menu "Invoicing > Reporting > Intrastat > DEB", open the ${object.declaration_type} declaration for month ${object.year_month} and click on the button "Generate lines from invoices".

% else: % if object.num_lines and object.num_lines > 0:

This draft ${object.type} DEB contains ${object.num_decl_lines} ${object.num_decl_lines == 1 and 'line' or 'lines'}.

% else:

This draft ${object.type} DEB generated automatically by Odoo doesn't contain any line.

% endif

Go and check this declaration in Odoo in the menu "Invoicing > Reporting > Intrastat > DEB".

% endif

-- Automatic e-mail sent by Odoo.

]]>