-
-
Notifications
You must be signed in to change notification settings - Fork 796
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
Draft: [14.0][ADD] keep latest report record attachment #817
base: 14.0
Are you sure you want to change the base?
Conversation
0d470c5
to
e3526b2
Compare
865cfaa
to
254bd43
Compare
254bd43
to
94e1fbe
Compare
domain = [ | ||
("res_model", "=", record._name), | ||
("res_id", "=", str(record.id)), | ||
("res_name", "ilike", "%{}%".format(record.name)), |
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.
Tests are running into a failure here:
2024-02-17 04:32:39,639 3479 INFO odoo odoo.addons.base.models.ir_actions_report: The PDF report has been generated for model: res.partner, records [41].
2024-02-17 04:32:39,641 3479 INFO odoo odoo.addons.base.models.ir_actions_report: The PDF document Test partner.pdf is now saved in the database
2024-02-17 04:32:39,654 3479 INFO odoo odoo.addons.base.models.ir_actions_report: The PDF report has been generated from attachments.
2024-02-17 04:32:39,655 3479 ERROR odoo odoo.osv.expression: Non-stored field ir.attachment.res_name cannot be searched.
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
@thomaspaulb @gfcapalbo maybe we can review this one?