Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed May 17, 2024
1 parent 6cccefa commit 22890b7
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 66 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ addon | version | maintainers | summary
[product_secondary_unit](product_secondary_unit/) | 16.0.1.0.3 | [![sergio-teruel](https://github.com/sergio-teruel.png?size=30px)](https://github.com/sergio-teruel) | Set a secondary unit per product
[product_sequence](product_sequence/) | 16.0.2.0.1 | | Product Sequence
[product_set](product_set/) | 16.0.3.0.0 | | Product set
[product_standard_price_tax_included](product_standard_price_tax_included/) | 16.0.1.0.1 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Brings a Cost Price Field Tax Included on Product Model
[product_state](product_state/) | 16.0.1.2.0 | [![emagdalenaC2i](https://github.com/emagdalenaC2i.png?size=30px)](https://github.com/emagdalenaC2i) | Module introducing a state field on product template
[product_stock_state](product_stock_state/) | 16.0.1.0.0 | [![sebastienbeau](https://github.com/sebastienbeau.png?size=30px)](https://github.com/sebastienbeau) [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) [![kevinkhao](https://github.com/kevinkhao.png?size=30px)](https://github.com/kevinkhao) | Compute the state of a product's stockthe stock level and sale_ok field
[product_supplierinfo_archive](product_supplierinfo_archive/) | 16.0.1.0.0 | [![GuillemCForgeFlow](https://github.com/GuillemCForgeFlow.png?size=30px)](https://github.com/GuillemCForgeFlow) [![AlvaroTForgeFlow](https://github.com/AlvaroTForgeFlow.png?size=30px)](https://github.com/AlvaroTForgeFlow) [![OriolVForgeFlow](https://github.com/OriolVForgeFlow.png?size=30px)](https://github.com/OriolVForgeFlow) | Add the active field to the product supplier info
Expand Down
52 changes: 21 additions & 31 deletions product_standard_price_tax_included/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
Product - Cost Price Tax Included
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4a284269f9405e355df3f48c426ee8b83aab5cf874d30f5ce3c88793f56c47a8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
Expand All @@ -14,43 +17,41 @@ Product - Cost Price Tax Included
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/12.0/product_standard_price_tax_included
:target: https://github.com/OCA/product-attribute/tree/16.0/product_standard_price_tax_included
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_standard_price_tax_included
:target: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_standard_price_tax_included
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/135/12.0
:alt: Try me on Runbot
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|
|badge1| |badge2| |badge3| |badge4| |badge5|

this module extend Odoo Sale module to handle correctly the possibility to
create and use pricelist **based on the cost Price**, if you are in a B2C
configuration (VAT set with 'Price Tax inlude').

If you have don't use VAT price tax Included, this module is useless.
If you don't use VAT price tax Included, this module is useless.

**Typical Use Case**

You have a product :
- Cost : 10€ (Vat Excl)
- Sale Price (Vat incl) : 20
- Cost : 1000€ (Vat Excl)
- Sale Price (Vat incl) : 2400
- VAT : 20% (Price with Tax included)

You have a marginless pricelist based on the cost

Without this module, if you create a sale order, the price will be bad, and
you will sale under your cost price.

.. image:: https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form_without_module.png
.. image:: https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/sale_order_form_without_module.png

With this module installed, the price will be good and you will not loose
the vat amount, when you realize this sale:

.. image:: https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form.png

**Technical information**
.. image:: https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/sale_order_form_with_module.png

This module fixes the problem,

Expand All @@ -66,31 +67,20 @@ This module fixes the problem,
.. contents::
:local:

Usage
=====
Configuration
=============

User can now set Price List based on this field:

.. image:: https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_pricelist_item_form.png
:width: 100%

The new field is displayed on the product variant form:

.. image:: https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_product_form.png
:width: 100%


In this exemple, if cost is 10€ (Vat Excl), when we'll use in a sale order
this product, with the pricelist based on cost (vat incl), the computation
of the price will be good.
.. image:: https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/product_pricelist_item_form.png

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_standard_price_tax_included%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_standard_price_tax_included%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Expand Down Expand Up @@ -128,6 +118,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain|

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/12.0/product_standard_price_tax_included>`_ project on GitHub.
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/16.0/product_standard_price_tax_included>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
63 changes: 29 additions & 34 deletions product_standard_price_tax_included/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Product - Cost Price Tax Included</title>
<style type="text/css">

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.

See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/

Expand Down Expand Up @@ -366,25 +365,26 @@ <h1 class="title">Product - Cost Price Tax Included</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4a284269f9405e355df3f48c426ee8b83aab5cf874d30f5ce3c88793f56c47a8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/product-attribute/tree/12.0/product_standard_price_tax_included"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_standard_price_tax_included"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/135/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/product-attribute/tree/16.0/product_standard_price_tax_included"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_standard_price_tax_included"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>this module extend Odoo Sale module to handle correctly the possibility to
create and use pricelist <strong>based on the cost Price</strong>, if you are in a B2C
configuration (VAT set with ‘Price Tax inlude’).</p>
<p>If you have don’t use VAT price tax Included, this module is useless.</p>
<p>If you don’t use VAT price tax Included, this module is useless.</p>
<p><strong>Typical Use Case</strong></p>
<p>You have a product :
- Cost : 10€ (Vat Excl)
- Sale Price (Vat incl) : 20
- Cost : 1000€ (Vat Excl)
- Sale Price (Vat incl) : 2400
- VAT : 20% (Price with Tax included)</p>
<p>You have a marginless pricelist based on the cost</p>
<p>Without this module, if you create a sale order, the price will be bad, and
you will sale under your cost price.</p>
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form_without_module.png" src="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form_without_module.png" />
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/sale_order_form_without_module.png" src="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/sale_order_form_without_module.png" />
<p>With this module installed, the price will be good and you will not loose
the vat amount, when you realize this sale:</p>
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form.png" src="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form.png" />
<p><strong>Technical information</strong></p>
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/sale_order_form_with_module.png" src="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/sale_order_form_with_module.png" />
<p>This module fixes the problem,</p>
<ul class="simple">
<li>adding a new computed field
Expand All @@ -396,58 +396,53 @@ <h1 class="title">Product - Cost Price Tax Included</h1>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#usage" id="id1">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>User can now set Price List based on this field:</p>
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_pricelist_item_form.png" src="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_pricelist_item_form.png" style="width: 100%;" />
<p>The new field is displayed on the product variant form:</p>
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_product_form.png" src="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_product_form.png" style="width: 100%;" />
<p>In this exemple, if cost is 10€ (Vat Excl), when we’ll use in a sale order
this product, with the pricelist based on cost (vat incl), the computation
of the price will be good.</p>
<img alt="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/product_pricelist_item_form.png" src="https://raw.githubusercontent.com/OCA/product-attribute/16.0/product_standard_price_tax_included/static/description/product_pricelist_item_form.png" />
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-attribute/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_standard_price_tax_included%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_standard_price_tax_included%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id3">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id4">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
<ul class="simple">
<li>GRAP</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul class="simple">
<li>Sylvain LE GAL (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external" href="https://github.com/legalsylvain"><img alt="legalsylvain" src="https://github.com/legalsylvain.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/12.0/product_standard_price_tax_included">OCA/product-attribute</a> project on GitHub.</p>
<p><a class="reference external image-reference" href="https://github.com/legalsylvain"><img alt="legalsylvain" src="https://github.com/legalsylvain.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/16.0/product_standard_price_tax_included">OCA/product-attribute</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion setup/_metapackage/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.0.20240517.0
16.0.20240517.1
Loading

0 comments on commit 22890b7

Please sign in to comment.