@@ -62,22 +62,22 @@ def _get_identificativo(self):
6262 "res.company" , string = "Company" , required = True , default = _default_company
6363 )
6464 identificativo = fields .Integer (string = "Identifier" , default = _get_identificativo )
65- name = fields .Char (string = "Name" , compute = "_compute_name" )
66- year = fields .Integer (string = "Year" , required = True )
65+ name = fields .Char (compute = "_compute_name" )
66+ year = fields .Integer (required = True )
6767 last_month = fields .Integer (string = "Last month" )
6868 liquidazione_del_gruppo = fields .Boolean (string = "Group's statement" )
6969 taxpayer_vat = fields .Char (string = "Vat" , required = True )
7070 controller_vat = fields .Char (string = "Controller TIN" )
71- taxpayer_fiscalcode = fields .Char (string = "Taxpayer Fiscalcode" )
71+ taxpayer_fiscalcode = fields .Char ()
7272 declarant_different = fields .Boolean (
7373 string = "Declarant different from taxpayer" , default = True
7474 )
75- declarant_fiscalcode = fields .Char (string = "Declarant Fiscalcode" )
75+ declarant_fiscalcode = fields .Char ()
7676 declarant_fiscalcode_company = fields .Char (string = "Fiscalcode company" )
7777 codice_carica_id = fields .Many2one ("appointment.code" , string = "Role code" )
7878 declarant_sign = fields .Boolean (string = "Declarant sign" , default = True )
7979
80- delegate_fiscalcode = fields .Char (string = "Delegate Fiscalcode" )
80+ delegate_fiscalcode = fields .Char ()
8181 delegate_commitment = fields .Selection (
8282 [
8383 ("1" , "Communication prepared by taxpayer" ),
@@ -529,9 +529,9 @@ def _compute_VP14_iva_da_versare_credito(self):
529529 string = "Period type" ,
530530 default = "month" ,
531531 )
532- month = fields .Integer (string = "Month" , default = False )
533- quarter = fields .Integer (string = "Quarter" , default = False )
534- subcontracting = fields .Boolean (string = "Subcontracting" )
532+ month = fields .Integer (default = False )
533+ quarter = fields .Integer (default = False )
534+ subcontracting = fields .Boolean ()
535535 exceptional_events = fields .Selection (
536536 [("1" , "Code 1" ), ("9" , "Code 9" )], string = "Exceptional events"
537537 )
@@ -609,7 +609,7 @@ def _compute_imponibile_operazioni_attive(self, liq, period):
609609 for debit_tax in debit_taxes :
610610 if debit_tax .vsc_exclude_operation :
611611 continue
612- tax = debit_taxes .with_context (self ._get_tax_context (period )).browse (
612+ tax = debit_taxes .with_context (** self ._get_tax_context (period )).browse (
613613 debit_tax .id
614614 )
615615 self .imponibile_operazioni_attive += tax .base_balance
@@ -622,7 +622,7 @@ def _compute_imponibile_operazioni_passive(self, liq, period):
622622 for credit_tax in credit_taxes :
623623 if credit_tax .vsc_exclude_operation :
624624 continue
625- tax = credit_taxes .with_context (self ._get_tax_context (period )).browse (
625+ tax = credit_taxes .with_context (** self ._get_tax_context (period )).browse (
626626 credit_tax .id
627627 )
628628 self .imponibile_operazioni_passive -= tax .base_balance
0 commit comments