Skip to content

Instantly share code, notes, and snippets.

View hernad's full-sized avatar

Ernad Husremović hernad

View GitHub Profile
@hernad
hernad / claude_1000_maraka.txt
Last active November 12, 2025 16:50
Danas je claude zaradio milju maraka
▐▛███▜▌ Claude Code v2.0.37
▝▜█████▛▘ Sonnet 4.5 · Claude Max
▘▘ ▝▝ /home/hernad/src/bringout/0/profile/bringout
============================ Prompt 1 ======================================
> in module bill_draft_ocr_processing, if after creating AI json there is no matched rule partner_matching stop next steps
● I'll help you modify the bill_draft_ocr_processing module to stop processing when there's no matched partner rule after AI json creation. Let me first explore the
module to understand the current workflow.
@hernad
hernad / 01_claude_session_bbi_convert_for_odoo_import.txt
Last active November 9, 2025 10:38
claude session to create bbi bank statements for odoo imort py
╭─── Claude Code v2.0.35 ─────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back bring.out! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity │
│ ▝▜█████▛▘ │ No recent activity │
│ ▘▘ ▝▝ │ │
│ │ │
│ Sonnet 4.5 · Claude Max │ │
▐▛███▜▌ Claude Code v2.0.36
▝▜█████▛▘ Sonnet 4.5 · Claude Max
▘▘ ▝▝ /home/hernad/src/bringout/0/profile/bringout
> follow @input/BILL_DRAFTS_CRONJOB_endless_loop_prevent.md
● I'll help you implement a guardrail to prevent endless loops in the Odoo cron job for processing vendor bills. Let me start by examining the current implementation.
● Search(pattern: "**/*cron*.py", path: "../../packages/odoo-bringout-bill_draft_ocr_processing")
@hernad
hernad / BLOG_POST_CREATION_SESSION.md
Created November 7, 2025 13:39
Blog Post Creation Session - Odoo PDF Generation Feature (2025-11-07)

Blog Post Creation Session - 2025-11-07

Session Overview

Date: 2025-11-07 Project: bring.out www website Task: Create blog post about PDF generation feature development Duration: ~30 minutes


@hernad
hernad / SESSION_2025-11-07_PDF_GENERATION.md
Created November 7, 2025 12:41
bring.out talk 09:39: znaš štaš napravit, kod fakturisanja čim završi edi da i PDf sam izgeneriše

Session Summary: Automatic PDF Generation After Fiscalization

Date: 2025-11-07 Feature: Generate PDF after successful fiscalization Final Version: 16.0.2.6.22


1. Initial Requirement

User Request:

@hernad
hernad / odoo_notebooklm.md
Last active October 15, 2025 10:30
Odoo Bosnian Localization google NotebookLM

Chat sa NotebookLM

💼 Odoo Bosnian Localization and Fiscalization

https://www.youtube.com/watch?v=UOek_6q8pos&t=12s

1 source The text is an excerpt from a YouTube video transcript detailing the Bosnian localization of the Odoo enterprise resource planning system, with a specific focus on accounting and fiscal functions. The presentation, led by a programmer and a systems administrator, demonstrates how the system handles various transactions, including purchases, sales, and internal consumption, ensuring compliance with Bosnian VAT (PDV) regulations and fiscal requirements. Key aspects discussed include managing fixed assets and low-value inventory, processing transactions to calculate PDV using specific tax matrices, and configuring the fiscalization module to communicate with external fiscal devices for issuing invoices. The demonstration concludes with showing how to reverse a sale (storno) and how the changes are reflected in the PDV calculation forms.

What are the key accounting and fiscal challen

@hernad
hernad / gist:20c1a955c80e0b09a59b3fe94214999a
Created August 26, 2025 22:03
claude-synchronize-brach_try-archive-support-session.txt
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /home/hernad/src/tries/try │
╰───────────────────────────────────────────────────╯
What's new:
https://github.com/bringout/kurs_dolara
███ █████████ ██████████ ██████ ██████ █████ ██████ █████ █████
░░░███ ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
░░░███ ███ ░░░ ░███ █ ░ ░███░█████░███ ░███ ░███░███ ░███ ░███
░░░███ ░███ ░██████ ░███░░███ ░███ ░███ ░███░░███░███ ░███
███░ ░███ █████ ░███░░█ ░███ ░░░ ░███ ░███ ░███ ░░██████ ░███
███░ ░░███ ░░███ ░███ ░ █ ░███ ░███ ░███ ░███ ░░█████ ░███
███░ ░░█████████ ██████████ █████ █████ █████ █████ ░░█████ █████
░░░ ░░░░░░░░░ ░░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░
@hernad
hernad / enable_ses_on_amazon_linux.sh
Last active June 18, 2018 12:29 — forked from gene1wood/enable_ses_on_amazon_linux.sh
Steps to switch from sendmail to postfix on Amazon Linux and enable using SES
yum install postfix
alternatives --set mta /usr/sbin/sendmail.postfix
service sendmail stop
chkconfig sendmail off
# https://github.com/mozilla/identity-ops/blob/master/chef/cookbooks/persona-common/recipes/postfix.rb
HISTCONTROL=ignoreboth
USERNAME="usernamegoeshere"
PASSWORD="passwordgoeshere"
SMTP_HOST="email-smtp.eu-west-1.amazonaws.com"
@hernad
hernad / golang.md
Last active January 3, 2016 14:29
golang godev