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

[11.0][ADD] website_sale_ecommerce_description: Add a description only for the e-commerce #266

Conversation

sylvainvh
Copy link

The field sale description on the product is displayed on the ecommerce but also on other reports (invoice, sale order ...). This module will allow to add a description only for the ecommerce.

'name': 'Website Sale e-Commerce Description',
'category': 'Website',
'summary': 'Add a e-Commerce description',
'version': '11.0.1.0.1',
Copy link
Contributor

Choose a reason for hiding this comment

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

</xpath>
</template>

</odoo>
Copy link
Contributor

Choose a reason for hiding this comment

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

Add blank line

<xpath expr="//div[p[@t-field='product.description_sale']]" position="after">
<hr t-if="product.description_ecommerce" />
<div class="o_not_editable">
<p t-field="product.description_ecommerce" class="text-muted" />
Copy link
Contributor

Choose a reason for hiding this comment

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

If the user write description_sale field, both fields appears in the views? Is this behavior expected?

'e-Commerce description',
help='A description of the Product. This description will be displayed'
' only on your e-Commerce.'
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Make field translatable

@sylvainvh sylvainvh force-pushed the 11.0-ADD-website_sale_ecommerce_description branch from e9ddc10 to 06707e5 Compare April 20, 2020 20:29
@dalonsod
Copy link
Contributor

dalonsod commented Oct 9, 2020

Hi @sylvainvh, please take a look at #442 , I think is quite similar to this PR on v12. Thanks!

@github-actions
Copy link

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 13, 2022
@github-actions github-actions bot closed this Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants