-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
[8.0] functions fields in tests are not computed with new api #12254
Comments
@rco-odoo Can you have a look at this issue? |
moylop260
added a commit
to vauxoo-dev/addons-vauxoo
that referenced
this issue
Jun 7, 2016
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it. Signed-off-by: Moisés López <moylop260@vauxoo.com>
moylop260
added a commit
to vauxoo-dev/addons-vauxoo
that referenced
this issue
Jun 7, 2016
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it.
nhomar
pushed a commit
to Vauxoo/addons-vauxoo
that referenced
this issue
Jun 7, 2016
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it.
Hello, Your field is not correctly defined. For a computed field, you should define the dependencies thanks to @api.depends('state', 'invoice_ids')
def _invoiced2(self):
.... Please read https://www.odoo.com/documentation/9.0/reference/orm.html#computed-fields Regards, |
GavyMG
pushed a commit
to vauxoo-dev/addons-vauxoo
that referenced
this issue
May 19, 2020
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it.
GavyMG
pushed a commit
to vauxoo-dev/addons-vauxoo
that referenced
this issue
May 19, 2020
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it.
GavyMG
pushed a commit
to vauxoo-dev/addons-vauxoo
that referenced
this issue
Jun 24, 2020
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it.
GavyMG
pushed a commit
to vauxoo-dev/product-attribute
that referenced
this issue
Sep 28, 2020
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it.
GavyMG
pushed a commit
to vauxoo-dev/product-attribute
that referenced
this issue
Sep 28, 2020
Currently odoo has the issue odoo/odoo#12254 just for test case. TODO: Revert this commit when is fix it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After this commit some of our tests that are validating the distinct values of the functions fields into process are failing
Impacted versions:
Steps to reproduce:
Current behavior:
Expected behavior:
Video/Screenshot link (optional):
https://youtu.be/KgHeE3rVXs8
I create this module to test,
https://github.com/JulioSerna/module_test
The text was updated successfully, but these errors were encountered: