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

[17.0][IMP] l10n_es_vat_porate: Use a proper account on investments and assets #3731

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

etobella
Copy link
Member

Corresponde a #3715

Última versión pendiente

Comment on lines +37 to +40
@api.depends("chart_template_id", "with_vat_prorate")
def _compute_prorrate_accounts(self):
for record in self:
if record.with_vat_prorate and record.chart_template_id:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@api.depends("chart_template_id", "with_vat_prorate")
def _compute_prorrate_accounts(self):
for record in self:
if record.with_vat_prorate and record.chart_template_id:
@api.depends("chart_template", "with_vat_prorate")
def _compute_prorrate_accounts(self):
for record in self:
if record.with_vat_prorate and record.chart_template:

En 17.0 cambian el nombre del field y lo hacen de tipo selection

@pedrobaeza pedrobaeza added this to the 17.0 milestone Sep 28, 2024
@pedrobaeza pedrobaeza changed the title [IMP] l10n_es_vat_porate: Use a proper account on investments and assets [17.0][IMP] l10n_es_vat_porate: Use a proper account on investments and assets Sep 28, 2024
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.

3 participants