Skip to content

Conversation

@Callum027
Copy link
Collaborator

@Callum027 Callum027 commented Nov 12, 2025

  • Add the missing active field to the Product record class.
  • Add the missing sale_ok field to the Product record class.
  • Fix the incorrect default_code field definition on the Product record class, by making it optional.
  • Add the missing invoice_count field to the SaleOrder record class.
  • Add the missing invoice_ids and invoices fields to the SaleOrder record class.
  • Add the missing action_cancel method to the SaleOrder record and manager class.
  • Fix a bug where new-style union type hints were not being handled by the parser, due to typing.get_origin returning a different origin type from the older typing.Union construct.

@Callum027 Callum027 self-assigned this Nov 12, 2025
@Callum027 Callum027 force-pushed the callum/field-fixes branch 2 times, most recently from fb757b2 to 156a8e8 Compare December 10, 2025 21:13
* Add the missing `active` field to the `Product` record class.
* Add the missing `sale_ok` field to the `Product` record class.
* Fix the incorrect `default_code` field definition on the `Product` record class, by making it optional.
* Add the missing `invoice_count` field to the `SaleOrder` record class.
* Add the missing `invoice_ids` and `invoices` fields to the `SaleOrder` record class.
* Add the missing `action_cancel` method to the `SaleOrder` record and manager class.
* Fix a bug where new-style union type hints were not being handled by the parser, due to `typing.get_origin` returning a different origin type from the older `typing.Union` construct.
@Callum027 Callum027 merged commit 33e5d51 into main Dec 11, 2025
6 checks passed
@Callum027 Callum027 deleted the callum/field-fixes branch December 11, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants