Skip to content

Commit 0a9971d

Browse files
committed
[MIG] product_supplierinfo_for_customer_sale: Migration to 18.0
1 parent 7024360 commit 0a9971d

5 files changed

Lines changed: 28 additions & 25 deletions

File tree

product_supplierinfo_for_customer_sale/README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ 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_supplierinfo_for_customer_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_supplierinfo_for_customer_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|
@@ -69,11 +69,11 @@ To use this module, you need:
6969

7070
|image5|
7171

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
72+
.. |image1| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/configuration_customer.png
73+
.. |image2| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/search_code.png
74+
.. |image3| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/description_code.png
75+
.. |image4| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/search_code_2.png
76+
.. |image5| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/description_code_2.png
7777

7878
Known issues / Roadmap
7979
======================
@@ -87,7 +87,7 @@ Bug Tracker
8787
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
8888
In case of trouble, please check there if your issue has already been reported.
8989
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**>`_.
90+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_supplierinfo_for_customer_sale%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9191

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

@@ -127,6 +127,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
127127
mission is to support the collaborative development of Odoo features and
128128
promote its widespread use.
129129

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.
130+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/product_supplierinfo_for_customer_sale>`_ project on GitHub.
131131

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

product_supplierinfo_for_customer_sale/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
55
{
66
"name": "Product Supplierinfo for Customer Sale",
7-
"version": "17.0.1.0.0",
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)",

product_supplierinfo_for_customer_sale/static/description/index.html

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
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 {
@@ -368,7 +369,7 @@ <h1 class="title">Product Supplierinfo for Customer Sale</h1>
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><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_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-18-0/sale-workflow-18-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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372373
<p>Based on product_supplierinfo_for_customer, this module loads in every
373374
sale order the customer code defined in the product and allows use the
374375
product codes and product name configured in each products in sale
@@ -398,21 +399,21 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
398399
<li>Go to product and configure <em>Partner product name</em> and <em>Partner
399400
product code</em> for each selected customer.</li>
400401
</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>
402+
<p><img alt="image1" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/configuration_customer.png" /></p>
402403
<ul class="simple">
403404
<li>When add order lines in sale quotation for a customer that has an
404405
specific name and code in the product, you can search that product
405406
with that customer name or code. Then, this values will be displayed
406407
in product description.</li>
407408
</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>
409+
<p><img alt="image2" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/search_code.png" /></p>
410+
<p><img alt="image3" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/description_code.png" /></p>
410411
<ul class="simple">
411412
<li>If product does not have a configuration for customer selected,
412413
product will be search by its default code.</li>
413414
</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>
415+
<p><img alt="image4" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/search_code_2.png" /></p>
416+
<p><img alt="image5" src="https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/description_code_2.png" /></p>
416417
</div>
417418
<div class="section" id="known-issues-roadmap">
418419
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
@@ -426,7 +427,7 @@ <h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
426427
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>.
427428
In case of trouble, please check there if your issue has already been reported.
428429
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>
430+
<a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_supplierinfo_for_customer_sale%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
430431
<p>Do not contact contributors directly about support or help with technical issues.</p>
431432
</div>
432433
<div class="section" id="credits">
@@ -456,11 +457,13 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
456457
<div class="section" id="maintainers">
457458
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
458459
<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>
460+
<a class="reference external image-reference" href="https://odoo-community.org">
461+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
462+
</a>
460463
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
461464
mission is to support the collaborative development of Odoo features and
462465
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>
466+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/18.0/product_supplierinfo_for_customer_sale">OCA/sale-workflow</a> project on GitHub.</p>
464467
<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>
465468
</div>
466469
</div>

product_supplierinfo_for_customer_sale/views/product_customerinfo_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<field name="name">Prices for customers</field>
77
<field name="res_model">product.customerinfo</field>
88
<field name="context">{'visible_product_tmpl_id': False}</field>
9-
<field name="view_mode">tree,form</field>
9+
<field name="view_mode">list,form</field>
1010
</record>
1111
<menuitem
1212
id="menu_product_customerinfo"

product_supplierinfo_for_customer_sale/views/sale_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<field name="inherit_id" ref="sale.view_order_form" />
1515
<field name="priority" eval="16" />
1616
<field name="arch" type="xml">
17-
<xpath expr="//form//tree//field[@name='product_id']" position="after">
17+
<xpath expr="//form//list//field[@name='product_id']" position="after">
1818
<field name="product_customer_code" optional="show" />
1919
</xpath>
2020
<xpath expr="//form//form//field[@name='product_id']" position="after">

0 commit comments

Comments
 (0)