Skip to content

OZ-974: Configure Drugs to be loaded in Odoo instead of OpenMRS#196

Open
VaishSiddharth wants to merge 12 commits intomainfrom
oz-947
Open

OZ-974: Configure Drugs to be loaded in Odoo instead of OpenMRS#196
VaishSiddharth wants to merge 12 commits intomainfrom
oz-947

Conversation

@VaishSiddharth
Copy link
Contributor

@VaishSiddharth VaishSiddharth requested review from corneliouzbett and rbuisson and removed request for corneliouzbett October 30, 2025 11:51
Comment on lines 49 to 61
"model_name": "product.category",
"folder": "product_category",
"field_rules": {}
},
{
"model_name": "product.product",
"folder": "product_variant",
"field_rules": {}
},
{
"model_name": "product.template",
"folder": "product",
"field_rules": {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you adding them here to be able to re-order their loading?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. But for this ordering to work first I'll have to remove these loaders from Odoo initialiser PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the other domain that needs to be loaded before these 3?
Maybe there is a way to fix Iniz directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The custom fields are loaded from nitializer_config.json and I want the product loaders to be loaded at last after all the configs are applied.

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