automatic accounting - journal name max 10 chars

This commit is contained in:
Priec
2026-07-22 12:56:39 +02:00
parent d10546715a
commit 72ed729783
6 changed files with 13 additions and 9 deletions

View File

@@ -18,8 +18,9 @@ pub struct PostJournalRequest {
/// journal is allowed to remain unbalanced.
#[prost(message, repeated, tag = "5")]
pub lines: ::prost::alloc::vec::Vec<JournalLineInput>,
/// Required and unique within the profile when creating. Must be empty when
/// appending to an existing journal selected by journal_id.
/// Required, unique within the profile, and at most 10 characters when
/// creating. Must be empty when appending to an existing journal selected by
/// journal_id.
#[prost(string, tag = "6")]
pub journal_name: ::prost::alloc::string::String,
}