@@ -21,7 +21,11 @@ def generate_xlsx_report(self, workbook, data, record_data):
2121 sheet .write (0 , 0 , data ["company_name" ], st_bold18 )
2222 sheet .set_row (0 , 28 )
2323 sheet .write (1 , 0 , data ["address" ] + " - " + data ["city" ])
24- sheet .write (2 , 0 , _ ("Share capital Euro " ) + str (data ["rea_capital" ]))
24+ sheet .write (
25+ 2 ,
26+ 0 ,
27+ _ ("Share capital Euro " ) + str (data ["l10n_it_eco_index_share_capital" ]),
28+ )
2529 sheet .write (4 , 0 , data ["name" ], st_bold18 )
2630 sheet .set_row (4 , 28 )
2731 sheet .write (
@@ -242,7 +246,7 @@ def generate_report(self, ir_report, docids, data=None):
242246 xbrl += self .get_xbrl_data_tag (
243247 "DatiAnagraficiCapitaleSociale" ,
244248 i_year ,
245- financial_statement_form_data ["rea_capital " ],
249+ financial_statement_form_data ["l10n_it_eco_index_share_capital " ],
246250 0 ,
247251 )
248252 xbrl += self .get_xbrl_data_tag (
@@ -251,7 +255,7 @@ def generate_report(self, ir_report, docids, data=None):
251255 xbrl += self .get_xbrl_data_tag (
252256 "DatiAnagraficiCodiceCciaa" ,
253257 i_year ,
254- financial_statement_form_data ["rea_office " ],
258+ financial_statement_form_data ["l10n_it_eco_index_office " ],
255259 )
256260 xbrl += self .get_xbrl_data_tag (
257261 "DatiAnagraficiPartitaIva" ,
@@ -266,22 +270,22 @@ def generate_report(self, ir_report, docids, data=None):
266270 xbrl += self .get_xbrl_data_tag (
267271 "DatiAnagraficiNumeroRea" ,
268272 i_year ,
269- financial_statement_form_data ["rea_office " ]
273+ financial_statement_form_data ["l10n_it_eco_index_office " ]
270274 + " "
271- + financial_statement_form_data ["rea_num " ],
275+ + financial_statement_form_data ["l10n_it_eco_index_number " ],
272276 )
273277 xbrl += self .get_xbrl_data_tag ("DatiAnagraficiFormaGiuridica" , i_year , "" )
274278 xbrl += self .get_xbrl_data_tag (
275279 "DatiAnagraficiSettoreAttivitaPrevalenteAteco" , i_year , ""
276280 )
277- if self .env .company .rea_liquidation_state == "LS" :
281+ if self .env .company .l10n_it_eco_index_liquidation_state == "LS" :
278282 tmp_s = "true"
279283 else :
280284 tmp_s = "false"
281285 xbrl += self .get_xbrl_data_tag (
282286 "DatiAnagraficiSocietaLiquidazione" , i_year , tmp_s
283287 )
284- if self .env .company .rea_member_type == "SU" :
288+ if self .env .company .l10n_it_eco_index_sole_shareholder == "SU" :
285289 tmp_s = "true"
286290 else :
287291 tmp_s = "false"
0 commit comments