(self)
return self.sii_account_registration_date or fields.Date.today()
Hook method to allow the setting of the account registration date
        of each supplier invoice. The SII recommends to set the send date as
        the default value (point 9.3 of the document
        SII_Descripcion_ServicioWeb_v0.7.pdf), so by default we return
        the current date or, if exists, the stored
        sii_account_registration_date
        :return String date in the format %Y-%m-%d
Hook method to allow the setting of the account registration date
        of each supplier invoice. The SII recommends to set the send date as
        the default value (point 9.3 of the document
        SII_Descripcion_ServicioWeb_v0.7.pdf), so by default we return
        the current date or, if exists, the stored
        sii_account_registration_date
        :return String date in the format %Y-%m-%d
Hook method to allow the setting of the account registration date of each supplier invoice . The SII recommends to set the send date as the default value ( point 9 . 3 of the document SII_Descripcion_ServicioWeb_v0 . 7 . pdf ) so by default we return the current date or if exists the stored sii_account_registration_date : return String date in the format %Y - %m - %d
def _get_account_registration_date(self):
        """Hook method to allow the setting of the account registration date
        of each supplier invoice. The SII recommends to set the send date as
        the default value (point 9.3 of the document
        SII_Descripcion_ServicioWeb_v0.7.pdf), so by default we return
        the current date or, if exists, the stored
        sii_account_registration_date
        :return String date in the format %Y-%m-%d"""
        self.ensure_one()
        return self.sii_account_registration_date or fields.Date.today()
def _get_account_registration_date ( self ) : self . ensure_one ( ) return self . sii_account_registration_date or fields . Date . today ( )