Skip to content

Validate product sync against live Holochain conductor #4

Description

@Soushi888

Summary

Test the existing "Sync to Nondominium" button on the product form against a running Holochain conductor + hc-http-gw. The sync code exists in models/product_sync.py but has never been validated against a live instance.

Tasks

  • Start Holochain conductor + hc-http-gw (see Set up Holochain dev environment for PoC testing #2)
  • Configure nondominium.config in Odoo Settings with correct DNA hash
  • Create a test product in Odoo
  • Click "Sync to Nondominium" and verify success notification
  • Verify ResourceSpecification created on Holochain (curl GET to check)
  • Verify EconomicResource created on Holochain (curl GET to check)
  • Verify nondominium_spec_hash and nondominium_resource_hash populated on the product record
  • Test error handling: sync with gateway down → verify error notification
  • Test partial sync: what happens if spec creates but resource fails

Dependencies

Acceptance Criteria

  • Single product syncs successfully from Odoo to Nondominium
  • Hashes stored on product record in Odoo
  • Error cases handled gracefully with user notifications
  • Round-trip verified: synced product queryable via hc-http-gw

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-criticalCritical priority - blocks progresspocPoC demo and validationtestingTesting and validation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions