09c374d47a
fix: rewrite all CRUD JSON files to match crud-definition-spec
...
- Replace wrong format (tablename/grid/form/joins/select_fields/widget)
with correct spec format (tblname/params/browserfields/editexclouded/alters)
- Use uitype:code with data arrays for dropdown fields
- Add logined_userorgid for multi-tenant data isolation
- Only reference actual table fields, no cross-table joins
- Hide system fields (id, org_id, created_at, updated_at) in browser/edit views
Files: financial_vouchers.json, payments.json, receipt_allocations.json, receipts.json, receivables.json
2026-05-07 10:55:45 +08:00
e78941a59d
fix: add length/dec attributes to float/decimal fields in model definitions
2026-05-07 10:39:25 +08:00
1bf044de21
fix: replace background with bgcolor, unwrap widgettype:Page to promote subwidgets to top level
2026-05-06 07:49:04 +08:00
910967f13e
fix: menu.ui uses '{{entire_url('/modulename/tablename')}}' format for table CRUD items
2026-05-05 22:05:25 +08:00
b794bc4cc8
fix: menu.ui is now a Menu widget, not a plain JSON list
2026-05-05 22:00:48 +08:00
e4a448fcd5
feat: add menu.ui as module entry point with CRUD and UI/DSpy menu items
2026-05-05 21:33:59 +08:00
8b0634ab0f
fix: replace backgroundColor with bgcolor (bricks framework valid property)
2026-05-05 19:50:16 +08:00
49c99a5e74
fix: flatten style to options, fix Button/Text widget properties
...
- Flatten nested style objects directly into options
- Text/Title use 'text', Button uses 'label'
- All paths use {{entire_url()}}
2026-05-05 19:36:13 +08:00
b949ed4968
fix: Text widgets use 'text' not 'label', Button widgets use 'label' not 'text'
...
Per bricks-framework spec:
- Text/Title: use 'text' for non-i18n, 'otext'+'i18n:true' for i18n
- Button: use 'label' for button text
2026-05-05 19:28:24 +08:00
141f6a8ec3
fix: replace appPublic with bricks_for_python dependency
2026-04-29 17:28:48 +08:00
1a35ac4254
fix: rename index field key from fields/columns to idxfields
2026-04-29 14:48:00 +08:00
a0eac5f516
fix: standardize summary format to list with primary=id in all models
2026-04-29 14:39:15 +08:00
13b4a5223e
fix: add missing summary field to receivables.json model
2026-04-29 14:34:31 +08:00
8b09a091ea
chore: add .gitignore
2026-04-29 12:58:28 +08:00
e3c19bc359
sync: local modifications to financial_management
...
- Updated financial_core.py
- Updated models/receivables.json
- Added mysql.ddl.sql
- Added API files: debug_receivables, receivables CRUD, test_env
- Added UI files: financial_vouchers, index, payments, receipts, receivable_edit, receivables
2026-04-28 18:53:13 +08:00
c87c5efaa7
bugfix
2026-04-16 13:32:15 +08:00