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

Improve _compute_formio_this_model_id (formio_crm, formio_partner, formio_sales) #177

Open
bobslee opened this issue Feb 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@bobslee
Copy link
Member

bobslee commented Feb 17, 2022

Improve _compute_formio_this_model_id function, to loop a multi recordset.
Affected modules: formio_crm, formio_partner, formio_sales

def _compute_formio_this_model_id(self):
    model_id = self.env.ref('base.model_res_partner').id
    for rec in self:
        rec.formio_this_model_id = model_id
@bobslee bobslee added the enhancement New feature or request label Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant