Skip to content

[18.0][IMP] base_import_pdf_by_template: Prevent time_format if not set - #1375

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-fix-base_import_pdf_by_template-TT63873
Jul 28, 2026
Merged

[18.0][IMP] base_import_pdf_by_template: Prevent time_format if not set#1375
OCA-git-bot merged 1 commit into
OCA:18.0from
Tecnativa:18.0-fix-base_import_pdf_by_template-TT63873

Conversation

@victoralmau

Copy link
Copy Markdown
Member

FWP from 17.0: #1374

Prevent time_format if not set

time_format = self.time_format.replace("*", "%")
AttributeError: 'bool' object has no attribute 'replace'

Please @pedrobaeza can ou review it?

@Tecnativa TT56270

time_format = self.time_format.replace("*", "%")
AttributeError: 'bool' object has no attribute 'replace'

TT56270
@OCA-git-bot OCA-git-bot added series:18.0 mod:base_import_pdf_by_template Module base_import_pdf_by_template labels Jul 28, 2026
@pedrobaeza pedrobaeza added this to the 18.0 milestone Jul 28, 2026

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same patch, so fast-tracking it

/ocabot merge patch

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-1375-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 3da9b90 into OCA:18.0 Jul 28, 2026
6 of 7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 5c2d068. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza
pedrobaeza deleted the 18.0-fix-base_import_pdf_by_template-TT63873 branch July 28, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants