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

[13.0][OU-FIX] pos_sale: do not delete point_of_sale.pos_config_main #4449

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

remytms
Copy link
Contributor

@remytms remytms commented Jun 3, 2024

In the analysis, the record point_of_sale.pos_config_main appears to be deleted. It's true that it is not overridden in the 13.0 version. But this record is not deleted, it still exists as it main definition is in the module point_of_sale.

In 12.0 the field crm_team_id is added to point_of_sale.pos_config_main and in 13.0 this field rely only on the _get_default function defined in the pos.config model in pos_sale.

There is no need to delete point_of_sale.pos_config_main, and there is no need to modify the crm_team_id value of this record. As this may have been modified by the users.

In the analysis, the record point_of_sale.pos_config_main appears to be
deleted. It's true that it is not overridden in the 13.0 version. But
this record is not deleted, it still exists as it main definition is in
the module point_of_sale.

In 12.0 the field crm_team_id is added to point_of_sale.pos_config_main
and in 13.0 this field rely only on the _get_default function defined in
the pos.config model in pos_sale.

There is no need to delete point_of_sale.pos_config_main, and there is
no need to modify the crm_team_id value of this record. As this may have
been modified by the users.
@pedrobaeza pedrobaeza added this to the 13.0 milestone Jun 3, 2024
@pedrobaeza pedrobaeza merged commit f307678 into OCA:13.0 Jun 3, 2024
3 checks passed
@remytms
Copy link
Contributor Author

remytms commented Jun 3, 2024

Thanks Pedro. :)

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