diff --git a/sale_stock_picking_invoicing/README.rst b/sale_stock_picking_invoicing/README.rst index 1409fe21e5d8..9232725d008e 100644 --- a/sale_stock_picking_invoicing/README.rst +++ b/sale_stock_picking_invoicing/README.rst @@ -17,13 +17,13 @@ Sales Stock Picking Invocing :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github - :target: https://github.com/OCA/account-invoicing/tree/15.0/sale_stock_picking_invoicing + :target: https://github.com/OCA/account-invoicing/tree/16.0/sale_stock_picking_invoicing :alt: OCA/account-invoicing .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-invoicing-15-0/account-invoicing-15-0-sale_stock_picking_invoicing + :target: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-sale_stock_picking_invoicing :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/account-invoicing&target_branch=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/account-invoicing&target_branch=16.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -94,7 +94,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -150,6 +150,6 @@ Current `maintainers `__: |maintainer-mbcosta| |maintainer-renatonlima| -This module is part of the `OCA/account-invoicing `_ project on GitHub. +This module is part of the `OCA/account-invoicing `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_stock_picking_invoicing/static/description/index.html b/sale_stock_picking_invoicing/static/description/index.html index afb1e84a132c..c355dffd62e7 100644 --- a/sale_stock_picking_invoicing/static/description/index.html +++ b/sale_stock_picking_invoicing/static/description/index.html @@ -369,7 +369,7 @@

Sales Stock Picking Invocing

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:c39cc35cdfeafd3361156b4cbcf173f922dfd8032d3fa193c0f1deec98237f12 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runboat

This module extends Stock Picking Invoicing implementation to Sale, you can define the ‘Sale Invoicing Policy’:

  • If set to Sale Order, keep native Odoo behaviour for creation of invoices from Sale Orders.
  • @@ -445,7 +445,7 @@

    Bug Tracker

    Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

    +feedback.

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

    @@ -489,7 +489,7 @@

    Maintainers

    promote its widespread use.

    Current maintainers:

    mbcosta renatonlima

    -

    This module is part of the OCA/account-invoicing project on GitHub.

    +

    This module is part of the OCA/account-invoicing project on GitHub.

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

    diff --git a/setup/sale_stock_picking_invoicing/odoo/addons/sale_stock_picking_invoicing b/setup/sale_stock_picking_invoicing/odoo/addons/sale_stock_picking_invoicing new file mode 120000 index 000000000000..b1a0bd1ec36e --- /dev/null +++ b/setup/sale_stock_picking_invoicing/odoo/addons/sale_stock_picking_invoicing @@ -0,0 +1 @@ +../../../../sale_stock_picking_invoicing \ No newline at end of file diff --git a/setup/sale_stock_picking_invoicing/setup.py b/setup/sale_stock_picking_invoicing/setup.py new file mode 100644 index 000000000000..28c57bb64031 --- /dev/null +++ b/setup/sale_stock_picking_invoicing/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/test.py b/test.py new file mode 100644 index 000000000000..aae2aa7f7ba3 --- /dev/null +++ b/test.py @@ -0,0 +1,8 @@ +def fix_pack6(pack): + for line in pack.pack_line_ids: + if 'PMES' in line.product_id.default_code: + line.product_id.list_price = line.product_id.list_price - 300 + elif '6000' in line.product_id.default_code: + line.quantity = 2 + elif '5000' in line.product_id.default_code: + line.unlink()