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

llx_product_extrafields should probably also use fk_product #25742

Closed
wants to merge 1 commit into from

Conversation

JonBendtsen
Copy link
Contributor

@JonBendtsen JonBendtsen commented Aug 30, 2023

NEW [llx_product_extrafields now uses fk_product just like other llx_product tables]

[*llx_product_extrafields used fk_object, where as all these tables uses fk_product. llx_product_extrafields should probably also use fk_product just like these other tables below

llx_product_association
llx_product_attribute_combination
llx_product_attribute_combination_price_level
llx_product_attribute_value
llx_product_batch
llx_product_customer_price
llx_product_customer_price_log
llx_product_fournisseur_price
llx_product_fournisseur_price_log
llx_product_lang
llx_product_lot
llx_product_price
llx_product_price_by_qty
llx_product_stock
llx_product_warehouse_properties

These 2 tables also contains fk_object, but I have no data in them, so I am unsure if they are really the same data: llx_product_fournisseur_price_extrafields, llx_product_lot_extrafields*]

…s fk_product

llx_product_association
llx_product_attribute_combination
llx_product_attribute_combination_price_level
llx_product_attribute_value
llx_product_batch
llx_product_customer_price
llx_product_customer_price_log
llx_product_fournisseur_price
llx_product_fournisseur_price_log
llx_product_lang
llx_product_lot
llx_product_price
llx_product_price_by_qty
llx_product_stock
llx_product_warehouse_properties

These 2 tables also contains fk_object, but I have no data in them, so I am unsure if they are really the same data: llx_product_fournisseur_price_extrafields, llx_product_lot_extrafields
@atm-maxime
Copy link
Member

All extrafields tables are related to an object and have the same structure. That's why in all these tables the foreign key to the related object is called fk_object instead of fk_product or else.

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