Skip to content

fix(bundle): conservar templates/*.html en Read/Write - #280

Merged
akromicc merged 1 commit into
mainfrom
fix/bundle-keep-templates
Aug 18, 2026
Merged

fix(bundle): conservar templates/*.html en Read/Write#280
akromicc merged 1 commit into
mainfrom
fix/bundle-keep-templates

Conversation

@akromicc

Copy link
Copy Markdown
Contributor

Summary

  • bundle.Read ya no descarta templates/*.html; quedan en Bundle.Templates y Write los reemite.
  • Sin esto, ops (y cualquier host que persista solo campos tipados) instala POS/Clientes/Compras sin el HTML de Plantillas aunque el tar.gz del hub sí lo traiga.

Test plan

  • go test ./bundle/
  • Round-trip: Write con templates/cash-cut-80mm.html → Read conserva el HTML

El tarball del addon ya trae los HTML de tickets/PDFs, pero Read los
hasheaba y los descartaba. Los hosts que persisten solo campos tipados
terminaban con Plantillas en 500.
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a653165c-458e-48e6-81c0-0c585a7ffde6


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@akromicc
akromicc merged commit f5f4518 into main Aug 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant