fsanyoto commited on
Commit
d462547
·
verified ·
1 Parent(s): 5007b7e

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
RELEASES.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "current": "90ce47259",
3
  "releases": []
4
  }
 
1
  {
2
+ "current": "d8d4aff34",
3
  "releases": []
4
  }
VERSION CHANGED
@@ -1 +1 @@
1
- 90ce47259
 
1
+ d8d4aff34
api/main.py CHANGED
@@ -1655,7 +1655,9 @@ def _rebuild_odoo_relational(why, previous_meta_fingerprint=None, meta_state_out
1655
  _health(cid, "freshness", "failed",
1656
  failure={**failure, "stage": "freshness"})
1657
  else:
1658
- _health(cid, "source", "ready")
 
 
1659
  _health(cid, "materialization", "ready")
1660
  # A receipt is the authoritative per-database result. ``tables`` alone omits
1661
  # read-through grains and the two compiled canonical databases, which previously
 
1655
  _health(cid, "freshness", "failed",
1656
  failure={**failure, "stage": "freshness"})
1657
  else:
1658
+ if str(cid) != str(default_cid):
1659
+ # A named connection's rebuild is its pull. The default's source stamp is the published mirror pass.
1660
+ _health(cid, "source", "ready")
1661
  _health(cid, "materialization", "ready")
1662
  # A receipt is the authoritative per-database result. ``tables`` alone omits
1663
  # read-through grains and the two compiled canonical databases, which previously
api/routes_connectors.py CHANGED
@@ -3576,13 +3576,18 @@ def _odoo_warning_sentence(checks):
3576
  """Name the published Odoo validation's warning rows in a few plain words, or return None."""
3577
  parts = []
3578
  for row in checks if isinstance(checks, (list, tuple)) else ():
3579
- if not isinstance(row, dict) or row.get("state") != "warning":
 
 
 
 
 
3580
  continue
3581
  name = row.get("check")
3582
  diffs = row.get("diffs") if isinstance(row.get("diffs"), (list, tuple)) else []
3583
  found = []
3584
  if name == "ledger_balance":
3585
- for diff in diffs:
3586
  diff = diff if isinstance(diff, dict) else {}
3587
  if "missing_columns" in diff or "invalid_ledger_lines" in diff:
3588
  found.append("Odoo ledger could not be checked")
 
3576
  """Name the published Odoo validation's warning rows in a few plain words, or return None."""
3577
  parts = []
3578
  for row in checks if isinstance(checks, (list, tuple)) else ():
3579
+ if not isinstance(row, dict):
3580
+ continue
3581
+ # An accepted ledger exception is still Odoo's ledger being off, so the card names it too.
3582
+ accepted = [{**item, "difference": item.get("balance")} for item in row.get("exceptions") or ()
3583
+ if isinstance(item, dict)] if row.get("check") == "ledger_balance" else []
3584
+ if row.get("state") != "warning" and not accepted:
3585
  continue
3586
  name = row.get("check")
3587
  diffs = row.get("diffs") if isinstance(row.get("diffs"), (list, tuple)) else []
3588
  found = []
3589
  if name == "ledger_balance":
3590
+ for diff in [*diffs, *accepted]:
3591
  diff = diff if isinstance(diff, dict) else {}
3592
  if "missing_columns" in diff or "invalid_ledger_lines" in diff:
3593
  found.append("Odoo ledger could not be checked")
web/public/AIOS_DEPLOY_RECEIPT CHANGED
@@ -1 +1 @@
1
- d68e1f654f4af5fafc6220cea354bd6a23ba8130013285950b6d0044bc4a3257
 
1
+ d2fa594401382fc3c0d95832d3ecdf94f78659e63af0618b6e5a6b6241a5f9f3