Skip to content

Commit

Permalink
intrastat: set lang in mail template
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Jun 20, 2023
1 parent e99edd8 commit b2bb154
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
ref="intrastat_product.model_intrastat_product_declaration"
/>
<field name="auto_delete" eval="False" />
<field name="lang">{{object.company_id.partner_id.lang}}</field>
<field name="email_from">{{object.company_id.email}}</field>
<field name="email_to">{{object.company_id.intrastat_email_list}}</field>
<field
Expand Down
1 change: 1 addition & 0 deletions l10n_fr_intrastat_service/data/mail_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
ref="l10n_fr_intrastat_service.model_l10n_fr_intrastat_service_declaration"
/>
<field name="auto_delete" eval="False" />
<field name="lang">{{object.company_id.partner_id.lang}}</field>
<field name="email_from">{{object.company_id.email}}</field>
<field name="email_to">{{object.company_id.intrastat_email_list}}</field>
<field
Expand Down

0 comments on commit b2bb154

Please sign in to comment.