Skip to content

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

Merged
pedrobaeza merged 1 commit into
OCA:13.0from
coopiteasy:13.0-fix-pos_sale
Jun 3, 2024
Merged

[13.0][OU-FIX] pos_sale: do not delete point_of_sale.pos_config_main#4449
pedrobaeza merged 1 commit into
OCA:13.0from
coopiteasy:13.0-fix-pos_sale

Conversation

@remytms

@remytms remytms commented Jun 3, 2024

Copy link
Copy Markdown

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
@remytms

remytms commented Jun 3, 2024

Copy link
Copy Markdown
Author

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