Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bosd
Copy link
Contributor

@bosd bosd commented Feb 10, 2025

depends upon: #217

@yvaucher
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-224-by-yvaucher-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jul 29, 2025
Signed-off-by yvaucher
@OCA-git-bot
Copy link
Contributor

@yvaucher your merge command was aborted due to failed check(s), which you can inspect on this commit of 18.0-ocabot-merge-pr-224-by-yvaucher-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@bosd
Copy link
Contributor Author

bosd commented Aug 29, 2025

@max3903 Can you please merge?

@bosd
Copy link
Contributor Author

bosd commented Aug 30, 2025

@yvaucher Can you retry the merge?

@yvaucher
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 18.0-ocabot-merge-pr-224-by-yvaucher-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Sep 15, 2025
Signed-off-by yvaucher
@OCA-git-bot
Copy link
Contributor

@yvaucher your merge command was aborted due to failed check(s), which you can inspect on this commit of 18.0-ocabot-merge-pr-224-by-yvaucher-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@yvaucher
Copy link
Member

@bosd partner_brand/tests/test_partner_brand.py", line 66, in test_empty_brand_logo is failing. Have you checked for conflict with another module?

@yvaucher
Copy link
Member

@bosd PS are you at the OCA Days?

@bosd
Copy link
Contributor Author

bosd commented Sep 15, 2025

@bosd PS are you at the OCA Days?
Will be there this evening and tomorrow.

Have not checked it with conflicting modules.

@yvaucher
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-224-by-yvaucher-bump-nobump, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Sep 17, 2025
Signed-off-by yvaucher
@yvaucher
Copy link
Member

With the patch on partner_brand it should not interfer with the other module. Let's see if the merge works.

@OCA-git-bot
Copy link
Contributor

@yvaucher your merge command was aborted due to failed check(s), which you can inspect on this commit of 18.0-ocabot-merge-pr-224-by-yvaucher-bump-nobump.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.


logo = fields.Binary(
related="partner_id.image_1920",
default=_get_default_brand_logo,
Copy link
Member

Choose a reason for hiding this comment

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

This is the cause of the failing tests. As it sets a default value. And partner_brand is not excepting a logo to be there by default.

@jguenat
Copy link
Member

jguenat commented Oct 20, 2025

Hi @bosd

I checked on my side and removed the default image for the logo to fix the tests in partner_brand.
I don't really see the value of this default logo.?

Also I detected some issues.

  • rendering Boxed and Bold template caused a traceback in the wizard.
  • The brand colors where not applied on documents. This modules dynamically creates an asset for the brand colors. You need to keep it in the manifest even if it seems useless at first glance.

I did the modifications there jguenat#5

Feel free to chery-pick/fixup what you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.