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

stock add is_signed boolean computed field #72592

Closed

Conversation

msh-odoo
Copy link
Contributor

PURPOSE
Show signed field in stock.picking listview as boolean widget.

SPEC
Add is_signed computed boolean field and add it into stock.picking listview.

TASK 2580117

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

signaature field was used in listview and it was displaying size of the
signature file, it has been done in commit: 4bdbb9b
but as discussed on PR: odoo#72276
we added is_signed computed boolean field to display it like boolean as boolean
widget is supported only on boolean type field.

task-2580117
@msh-odoo msh-odoo requested a review from a team as a code owner June 23, 2021 08:19
@robodoo
Copy link
Contributor

robodoo commented Jun 23, 2021

@C3POdoo C3POdoo added the RD research & development, internal work label Jun 23, 2021
@amoyaux
Copy link
Contributor

amoyaux commented Jun 24, 2021

robodoo r+

robodoo pushed a commit that referenced this pull request Jun 24, 2021
signaature field was used in listview and it was displaying size of the
signature file, it has been done in commit: 4bdbb9b
but as discussed on PR: #72276
we added is_signed computed boolean field to display it like boolean as boolean
widget is supported only on boolean type field.

task-2580117

closes #72592

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
@robodoo robodoo added the 14.5 label Jun 24, 2021
@robodoo robodoo closed this Jun 24, 2021
@robodoo robodoo temporarily deployed to merge June 24, 2021 11:30 Inactive
@tanghulu0608
Copy link
Contributor

tanghulu0608 commented Jun 24, 2021

@msh-odoo I have a question about this commit. Why not store the field is_signed to db? Every time the tree view is displayed, the field is compute again and again. I think this would be a performance issue.

@msh-odoo
Copy link
Contributor Author

@tanghulu0608 I don't think so, compute method is not complex as well as it has dependency of signature field, also storing it doesn't make sense as just added compute field just for display purpose, what do you think @amoyaux

@tanghulu0608
Copy link
Contributor

@amoyaux hello

@amoyaux
Copy link
Contributor

amoyaux commented Jul 1, 2021

It won't be an issue

@fw-bot fw-bot deleted the master-stock-picking-is-signed-msh branch July 8, 2021 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
14.5 RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants