Skip to content

Commit 1d7fcf0

Browse files
cem-adhoccarlos-lopez-tecnativa
authored andcommitted
[MIG] product_customerinfo_sale: Migration to 18.0
renamed from product_supplierinfo_for_customer
1 parent 81d5d2f commit 1d7fcf0

10 files changed

Lines changed: 81 additions & 154 deletions

File tree

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
======================================
2-
Product Supplierinfo for Customer Sale
3-
======================================
1+
==========================
2+
Product customer info sale
3+
==========================
44

55
..
66
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -17,21 +17,20 @@ Product Supplierinfo for Customer Sale
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
20-
:target: https://github.com/OCA/sale-workflow/tree/17.0/product_supplierinfo_for_customer_sale
20+
:target: https://github.com/OCA/sale-workflow/tree/18.0/product_customerinfo_sale
2121
:alt: OCA/sale-workflow
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-product_supplierinfo_for_customer_sale
23+
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-product_customerinfo_sale
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
Based on product_supplierinfo_for_customer, this module loads in every
32-
sale order the customer code defined in the product and allows use the
33-
product codes and product name configured in each products in sale
34-
orders.
31+
Based on product_customerinfo, this module loads in every sale order the
32+
customer code defined in the product and allows use the product codes
33+
and product name configured in each products in sale orders.
3534

3635
If you use Advanced price rules with formulas to define your pricing,
3736
and choose that the price should be calculated from the partner prices
@@ -48,46 +47,46 @@ Usage
4847

4948
To use this module, you need:
5049

51-
- Go to product and configure *Partner product name* and *Partner
52-
product code* for each selected customer.
50+
- Go to product and configure *Partner product name* and *Partner
51+
product code* for each selected customer.
5352

5453
|image1|
5554

56-
- When add order lines in sale quotation for a customer that has an
57-
specific name and code in the product, you can search that product
58-
with that customer name or code. Then, this values will be displayed
59-
in product description.
55+
- When add order lines in sale quotation for a customer that has an
56+
specific name and code in the product, you can search that product
57+
with that customer name or code. Then, this values will be displayed
58+
in product description.
6059

6160
|image2|
6261

6362
|image3|
6463

65-
- If product does not have a configuration for customer selected,
66-
product will be search by its default code.
64+
- If product does not have a configuration for customer selected,
65+
product will be search by its default code.
6766

6867
|image4|
6968

7069
|image5|
7170

72-
.. |image1| image:: https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/configuration_customer.png
73-
.. |image2| image:: https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/search_code.png
74-
.. |image3| image:: https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/description_code.png
75-
.. |image4| image:: https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/search_code_2.png
76-
.. |image5| image:: https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/description_code_2.png
71+
.. |image1| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/configuration_customer.png
72+
.. |image2| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/search_code.png
73+
.. |image3| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/description_code.png
74+
.. |image4| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/search_code_2.png
75+
.. |image5| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/description_code_2.png
7776

7877
Known issues / Roadmap
7978
======================
8079

81-
- Putting a minimum qty in a pricelist rule means the system will use
82-
the option 'list price' instead of any option you chose.
80+
- Putting a minimum qty in a pricelist rule means the system will use
81+
the option 'list price' instead of any option you chose.
8382

8483
Bug Tracker
8584
===========
8685

8786
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
8887
In case of trouble, please check there if your issue has already been reported.
8988
If you spotted it first, help us to smash it by providing a detailed and welcomed
90-
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_supplierinfo_for_customer_sale%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
89+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_customerinfo_sale%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9190

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

@@ -103,16 +102,16 @@ Authors
103102
Contributors
104103
------------
105104

106-
- Xavier Jimenez <xavier.jimenez@qubiq.es>
107-
- Nicola Malcontenti <nicola.malcontenti@agilebg.com>
108-
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
109-
- Moisés López <moylop260@vauxoo.com>
110-
- Yennifer Santiago <yennifer@vauxoo.com>
111-
- Julio Serna Hernández <julio@vauxoo.com>
112-
- Sergio Teruel <sergio.teruel@tecnativa.com>
113-
- Lois Rilo <lois.rilo@forgeflow.com>
114-
- Juany Davila <juany.davila@forgeflow.com>
115-
- Carlos Reyes <carlos@studio73.es>
105+
- Xavier Jimenez <xavier.jimenez@qubiq.es>
106+
- Nicola Malcontenti <nicola.malcontenti@agilebg.com>
107+
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
108+
- Moisés López <moylop260@vauxoo.com>
109+
- Yennifer Santiago <yennifer@vauxoo.com>
110+
- Julio Serna Hernández <julio@vauxoo.com>
111+
- Sergio Teruel <sergio.teruel@tecnativa.com>
112+
- Lois Rilo <lois.rilo@forgeflow.com>
113+
- Juany Davila <juany.davila@forgeflow.com>
114+
- Carlos Reyes <carlos@studio73.es>
116115

117116
Maintainers
118117
-----------
@@ -127,6 +126,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
127126
mission is to support the collaborative development of Odoo features and
128127
promote its widespread use.
129128

130-
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/17.0/product_supplierinfo_for_customer_sale>`_ project on GitHub.
129+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/product_customerinfo_sale>`_ project on GitHub.
131130

132131
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

product_customerinfo_sale/__manifest__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
# Copyright 2021 ForgeFlow S.L. (https://www.forgeflow.com)
44
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
55
{
6-
"name": "Product Supplierinfo for Customer Sale",
7-
"version": "17.0.1.0.0",
6+
"name": "Product customer info sale",
7+
"version": "18.0.1.0.0",
88
"summary": "Loads in every sale order line the customer code defined "
99
"in the product",
1010
"author": "Agile Business Group,Vauxoo,Odoo Community Association (OCA)",
1111
"website": "https://github.com/OCA/sale-workflow",
1212
"category": "Sales Management",
1313
"license": "AGPL-3",
14-
"depends": ["sale", "product_supplierinfo_for_customer"],
14+
"depends": ["sale", "product_customerinfo"],
1515
"data": [
1616
"security/ir.model.access.csv",
1717
"views/product_customerinfo_views.xml",

product_customerinfo_sale/readme/DESCRIPTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Based on product_supplierinfo_for_customer, this module loads in every
1+
Based on product_customerinfo, this module loads in every
22
sale order the customer code defined in the product and allows use the
33
product codes and product name configured in each products in sale
44
orders.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2-
access_product_customerinfo_sale_manager,product.customerinfo.sale_manager,product_supplierinfo_for_customer.model_product_customerinfo,sales_team.group_sale_manager,1,1,1,1
3-
access_product_customerinfo_sale_user,product.customerinfo.sale_user,product_supplierinfo_for_customer.model_product_customerinfo,sales_team.group_sale_salesman,1,0,0,0
2+
access_product_customerinfo_sale_manager,product.customerinfo.sale_manager,product_customerinfo.model_product_customerinfo,sales_team.group_sale_manager,1,1,1,1
3+
access_product_customerinfo_sale_user,product.customerinfo.sale_user,product_customerinfo.model_product_customerinfo,sales_team.group_sale_salesman,1,0,0,0

product_customerinfo_sale/static/description/index.html

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>Product Supplierinfo for Customer Sale</title>
6+
<title>Product customer info sale</title>
77
<style type="text/css">
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1516
1617
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718
customize this style sheet.
@@ -274,7 +275,7 @@
274275
margin-left: 2em ;
275276
margin-right: 2em }
276277

277-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
278279
pre.code, code { background-color: #eeeeee }
279280
pre.code .comment, code .comment { color: #5C6576 }
280281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
300301
span.pre {
301302
white-space: pre }
302303

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -359,20 +360,19 @@
359360
</style>
360361
</head>
361362
<body>
362-
<div class="document" id="product-supplierinfo-for-customer-sale">
363-
<h1 class="title">Product Supplierinfo for Customer Sale</h1>
363+
<div class="document" id="product-customer-info-sale">
364+
<h1 class="title">Product customer info sale</h1>
364365

365366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
366367
!! This file is generated by oca-gen-addon-readme !!
367368
!! changes will be overwritten. !!
368369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369370
!! source digest: sha256:04cc681010b340a9ec28530ccc30811372460de03556f9302e1d5f3cabf71b85
370371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371-
<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/sale-workflow/tree/17.0/product_supplierinfo_for_customer_sale"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-product_supplierinfo_for_customer_sale"><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/sale-workflow&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372-
<p>Based on product_supplierinfo_for_customer, this module loads in every
373-
sale order the customer code defined in the product and allows use the
374-
product codes and product name configured in each products in sale
375-
orders.</p>
372+
<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/sale-workflow/tree/18.0/product_customerinfo_sale"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-product_customerinfo_sale"><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/sale-workflow&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373+
<p>Based on product_customerinfo, this module loads in every sale order the
374+
customer code defined in the product and allows use the product codes
375+
and product name configured in each products in sale orders.</p>
376376
<p>If you use Advanced price rules with formulas to define your pricing,
377377
and choose that the price should be calculated from the partner prices
378378
in the product form, the quantity in the sales order will be proposed
@@ -398,21 +398,21 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
398398
<li>Go to product and configure <em>Partner product name</em> and <em>Partner
399399
product code</em> for each selected customer.</li>
400400
</ul>
401-
<p><img alt="image1" src="https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/configuration_customer.png" /></p>
401+
<p><img alt="image1" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/configuration_customer.png" /></p>
402402
<ul class="simple">
403403
<li>When add order lines in sale quotation for a customer that has an
404404
specific name and code in the product, you can search that product
405405
with that customer name or code. Then, this values will be displayed
406406
in product description.</li>
407407
</ul>
408-
<p><img alt="image2" src="https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/search_code.png" /></p>
409-
<p><img alt="image3" src="https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/description_code.png" /></p>
408+
<p><img alt="image2" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/search_code.png" /></p>
409+
<p><img alt="image3" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/description_code.png" /></p>
410410
<ul class="simple">
411411
<li>If product does not have a configuration for customer selected,
412412
product will be search by its default code.</li>
413413
</ul>
414-
<p><img alt="image4" src="https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/search_code_2.png" /></p>
415-
<p><img alt="image5" src="https://raw.githubusercontent.com/OCA/sale-workflow/17.0/product_supplierinfo_for_customer_sale/static/description/description_code_2.png" /></p>
414+
<p><img alt="image4" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/search_code_2.png" /></p>
415+
<p><img alt="image5" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/description_code_2.png" /></p>
416416
</div>
417417
<div class="section" id="known-issues-roadmap">
418418
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
@@ -426,7 +426,7 @@ <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
426426
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>.
427427
In case of trouble, please check there if your issue has already been reported.
428428
If you spotted it first, help us to smash it by providing a detailed and welcomed
429-
<a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_supplierinfo_for_customer_sale%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
429+
<a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_customerinfo_sale%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
430430
<p>Do not contact contributors directly about support or help with technical issues.</p>
431431
</div>
432432
<div class="section" id="credits">
@@ -456,11 +456,13 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
456456
<div class="section" id="maintainers">
457457
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
458458
<p>This module is maintained by the OCA.</p>
459-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
459+
<a class="reference external image-reference" href="https://odoo-community.org">
460+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
461+
</a>
460462
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
461463
mission is to support the collaborative development of Odoo features and
462464
promote its widespread use.</p>
463-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/17.0/product_supplierinfo_for_customer_sale">OCA/sale-workflow</a> project on GitHub.</p>
465+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/18.0/product_customerinfo_sale">OCA/sale-workflow</a> project on GitHub.</p>
464466
<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>
465467
</div>
466468
</div>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
from . import test_product_supplierinfo_for_customer_sale
2-
from . import test_product_name_search
1+
from . import test_product_customerinfo_sale

0 commit comments

Comments
 (0)