-
Notifications
You must be signed in to change notification settings - Fork 171
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
[14.0][ADD] purchase_report_date_planned #215
base: 14.0
Are you sure you want to change the base?
Conversation
class PurchaseReport(models.Model): | ||
_inherit = "purchase.report" | ||
|
||
date_planned = fields.Datetime(compute="_compute_date_planned", store=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you do not have to create a computed field. it's just a normal field and as the model is based on a sql view the data will be here (with the override of _select and _group_by)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor change
Can you move this in oca : https://github.com/akretion/purchase-workflow ?
@sebastienbeau no because the module depends on purchase_usability |
Indeed I didn't see that the tree wview was added by odoo-usability. |
No description provided.