Skip to content

Commit

Permalink
emebi: allow confirmation of nihil declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Apr 8, 2024
1 parent 8620345 commit 8fbd613
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ def _generate_xml(self):
_("The SIRET is not set on company '%s'.")
% self.company_id.display_name
)
if self.action != "replace" or self.revision != 1:
if self.action == "nihil":
return None
elif self.action == "append" or self.revision != 1:
raise UserError(
_(
"Pro.dou@ne only accepts XML file upload for "
Expand Down

0 comments on commit 8fbd613

Please sign in to comment.