feat: чтение периодичности регистров сведений и расчета#642
Conversation
Добавлено чтение свойства "Периодичность" (InformationRegisterPeriodicity) для регистров сведений из форматов конфигуратора и EDT. - новое перечисление InformationRegisterPeriodicity в mdo.support - поле informationRegisterPeriodicity в InformationRegister (по умолчанию NONPERIODICAL) - регистрация EnumConverter в ExtendXStream - тесты и обновлённые фикстуры (пример непериодического и периодического регистра — КурсыВалют) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CgG1X7FPscMdgYMBHQ7CFR
|
Warning Review limit reached
Next review available in: 51 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (13)
📒 Files selected for processing (10)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Test Results 516 files +12 516 suites +12 13m 10s ⏱️ +12s Results for commit aa481b7. ± Comparison against base commit 4afe994. This pull request removes 10 and adds 16 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Добавлено чтение свойства "Периодичность" (Periodicity) для регистров расчета из форматов конфигуратора и EDT. - новое перечисление CalculationRegisterPeriodicity (Day/Month/Quarter/Year) в mdo.support - поле periodicity в CalculationRegister (по умолчанию MONTH) - регистрация EnumConverter в ExtendXStream - тесты и обновлённые фикстуры - генератор фикстур GenerateMdoFixtures переведён на запуск через main-метод Регистры бухгалтерии и накопления свойства "Периодичность" не имеют. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CgG1X7FPscMdgYMBHQ7CFR
|



Описание
Добавлено чтение свойства «Периодичность» у регистров, где оно есть в модели 1С. Ранее оно не читалось ни из формата конфигуратора, ни из EDT.
Проверены все виды регистров:
InformationRegister)CalculationRegister)AccountingRegister)PeriodAdjustmentLength— иное)AccumulationRegister)RegisterType)Регистр сведений
InformationRegisterPeriodicity(Nonperiodical,RecorderPosition,Second,Day,Month,Quarter,Year, +Unknown).informationRegisterPeriodicityвInformationRegister, по умолчаниюNONPERIODICAL.<InformationRegisterPeriodicity>, EDT<informationRegisterPeriodicity>.КурсыВалют(DAY).Регистр расчета
CalculationRegisterPeriodicity(Day,Month,Quarter,Year, +Unknown).periodicityвCalculationRegister, по умолчаниюMONTH.<Periodicity>, EDT<periodicity>.Общее
EnumConverterдля обоих перечислений вExtendXStream.InformationRegisterTest/CalculationRegisterTest.Configuration).GenerateMdoFixtures(запуск черезmain, не входит в прогон тестов).Связанные задачи
Closes
Чеклист
Общие
gradlew precommit)Дополнительно
Проверено локально:
license, юнит-тесты перечислений,InformationRegisterTest,CalculationRegisterTestиFixtureComparisonTest— зелёные для доступных пакетовmdclasses*/ssl_3_2. Пакетыssl_3_1в этой среде недоступны как сабмодуль (проверены на CI).🤖 Generated with Claude Code