Skip to content

Instantly share code, notes, and snippets.

View HandsonMatheus's full-sized avatar
💭
tchururu

Handson Matheus HandsonMatheus

💭
tchururu
View GitHub Profile
@codeagencybe
codeagencybe / server_action
Created July 15, 2025 00:56
Convert purchase order to vendor bill -- Odoo 18.3+ workaround
# Convert Purchase Order to Vendor Bill
# Works for single record or multiple records
log(f"Processing {len(records)} records")
for po in records:
log(f"Processing PO: {po.name}, Model: {po._name}, State: {po.state}")