Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v14 - payroll_community: error External ID not found in the system: base.module_category_localization #73

Open
odooaictec opened this issue Sep 16, 2021 · 1 comment

Comments

@odooaictec
Copy link

<field name="context" eval="{'search_default_category_id': ref('base.module_category_localization'), 'search_default_name': 'Payroll'}"/>

ValueError: <class 'ValueError'>: "External ID not found in the system: base.module_category_localization" while evaluating
"{'search_default_category_id': ref('base.module_category_localization'), 'search_default_name': 'Payroll'}"

@odooaictec odooaictec changed the title ValueError: <class 'ValueError'>: "External ID not found in the system: base.module_category_localization" while evaluating "{'search_default_category_id': ref('base.module_category_localization'), 'search_default_name': 'Payroll'}" v14 - payroll_community: error External ID not found in the system: base.module_category_localization Sep 16, 2021
@Peter-Fam
Copy link

i think it's a bug because Odoo 14.0 doesn't have module_category_localization module anymore after 13.0
a quick fix i did is changing

<field name="context" eval="{'search_default_category_id': ref('base.module_category_localization'), 'search_default_name': 'Payroll'}"/>

to

 <field name="context" eval="{'search_default_category_id': ref('base.module_category_accounting_localizations'), 'search_default_name': 'Payroll'}"/> 

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

No branches or pull requests

2 participants