Addons DevPre-alpha
Account module
Invoicing, vendor bills, chart of accounts, taxes, and payments.
Models
| Model | Purpose |
|---|---|
account.account | Chart of accounts |
account.journal | Journals |
account.tax, account.tax.repartition.line | Taxes |
account.payment.term | Payment terms |
account.move, account.move.line | Invoices, bills, entries |
account.payment | Customer/vendor payments |
account.partial.reconcile, account.full.reconcile | Reconciliation |
account.invoice.report | Reporting snapshot |
Wizards
| Model | Purpose |
|---|---|
account.payment.register | Register payment on invoice/bill |
account.move.reversal | Credit note / refund |
Wizards compile with sdk.Many2One[sdk.Any] and comodel= for FKs across packages.
Tax invoice lines write tax_origin_id (the originating account.tax), not a tax_line_id column.
Post-payment and reverse actions redirect with moveFormURL chosen by move_type (out_invoice, out_refund, in_invoice, in_refund, else journal entries).
Services
| File | Role |
|---|---|
services/hooks.go | SO/PO → invoice/bill on confirm |
services/invoice.go | Create/post moves, tax/GL logic |
services/payment.go | Post payments |
services/reconcile.go | Reconciliation, report sync |
services/actions.go | Object actions |
Object actions
action_post, action_draft, action_cancel, action_register_payment, action_reverse, action_print_invoice, …
HTTP route
GET /account/invoice/print?id= — HTML print view (controllers/invoice_print.go)
Events
Auto-create customer invoice when sale.order → state=sale. Auto-create vendor bill when purchase.order → state=purchase.
Depends
product, contacts
Paths
sumeru_addons/account/services/sumeru_addons/account/views/menus.xml