Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
8586d44
[8.0] [ADD] pos order to sale order (w/o picking) (#188)
legalsylvain Mar 9, 2018
6e22a1b
[FIX] taxes was dropped in the sale order lines. [IMP] Remove limitat…
legalsylvain Mar 23, 2018
a50932e
[BUMP] version
legalsylvain Mar 23, 2018
e07303d
Coquille + ajout (BL) pour boutons "vente livrée"
Mar 30, 2018
13c9e52
[FIX] por_order_to_sale_order: PEP8
pedrobaeza Apr 28, 2018
4a98dfe
[UPD] Update pos_order_to_sale_order.pot
oca-travis Jun 22, 2018
943955f
[FIX] do not allow to create sale order several times;
legalsylvain Dec 11, 2018
633cbe2
[UPD] README.rst
OCA-git-bot Apr 17, 2019
dff24fb
[UPD] Update pos_order_to_sale_order.pot
oca-travis Apr 17, 2019
0d21e31
Update translation files
oca-transbot Apr 17, 2019
1845ed9
[REF] pos_order_to_sale_order: Black python code
legalsylvain Jan 18, 2020
68a867d
[MIG] pos_order_to_sale_order: Migration to 12.0
legalsylvain Jan 18, 2020
9713531
[FIX] remove commented code
legalsylvain Jul 4, 2020
b53b9e2
[UPD] Update pos_order_to_sale_order.pot
oca-travis Jul 4, 2020
2d03f06
[UPD] README.rst
OCA-git-bot Jul 4, 2020
9fb3be7
pos_order_to_sale_order 12.0.1.0.1
OCA-git-bot Jul 4, 2020
e4b1082
Update translation files
oca-transbot Jul 6, 2020
eb97858
Added translation using Weblate (Spanish)
danimv5 Jul 27, 2020
972c92e
Translated using Weblate (Spanish)
danimv5 Jul 27, 2020
56d0e9c
Added translation using Weblate (Portuguese (Brazil))
augustodinizl Aug 5, 2020
4f90662
Translated using Weblate (Portuguese (Brazil))
augustodinizl Aug 5, 2020
32cbe7f
pos_order_to_sale_order: Make JS extendable
gaikaz Sep 11, 2020
c1058f4
pos_order_to_sale_order 12.0.1.0.2
OCA-git-bot Sep 11, 2020
da2418a
[FIX] pos_order_to_sale_order : dependencies to sale module is now re…
legalsylvain Sep 25, 2020
7f827be
[FIX] pos_order_to_sale_order : make the module working if get_order(…
legalsylvain Sep 25, 2020
6b0d1c7
[UPD] Update pos_order_to_sale_order.pot
oca-travis May 14, 2021
92abfef
pos_order_to_sale_order 12.0.1.0.3
OCA-git-bot May 14, 2021
6aea478
Update translation files
oca-transbot May 14, 2021
a650b14
[UPD] Update pos_order_to_sale_order.pot
oca-travis May 14, 2021
86256a7
Update translation files
oca-transbot May 14, 2021
ce3da8f
[IMP] pos_order_to_sale_order: black, isort, prettier
manuelregidor Jun 28, 2021
663964b
[MIG]pos_order_to_sale_order: Migration to 13.0
manuelregidor Jun 28, 2021
541e71d
[UPD] Update pos_order_to_sale_order.pot
oca-travis Jul 8, 2021
ee6226e
[UPD] README.rst
OCA-git-bot Jul 8, 2021
bdda5ab
Added translation using Weblate (Italian)
mymage Mar 16, 2023
97925fd
Translated using Weblate (Italian)
mymage Mar 16, 2023
6ea7ed5
Translated using Weblate (Italian)
mymage Mar 17, 2023
cf13ab0
[IMP] pos_order_to_sale_order: black, isort, prettier
Apr 3, 2023
d693b5e
[MIG] pos_order_to_sale_order: Migration to 14.0
Apr 3, 2023
7f38636
[IMP] Destroy current order when create sale.order
Apr 20, 2023
dc5a0f2
[UPD] Update pos_order_to_sale_order.pot
May 5, 2023
a18f4a6
[UPD] README.rst
OCA-git-bot May 5, 2023
24915d4
Translated using Weblate (Italian)
mymage Jun 14, 2023
b101a41
[UPD] README.rst
OCA-git-bot Sep 3, 2023
7f75794
Added translation using Weblate (Catalan)
eugenichafer Sep 29, 2023
7769e9e
Added translation using Weblate (Catalan (ca_ES))
eugenichafer Sep 29, 2023
5184a18
Translated using Weblate (Catalan)
eugenichafer Sep 29, 2023
d6505e0
Update translation files
weblate Oct 9, 2023
19179ae
Translated using Weblate (Italian)
mymage Oct 13, 2023
c9d0423
[IMP] pos_order_to_sale_order: black, isort, prettier
Jan 9, 2024
b2ed320
[MIG] pos_order_to_sale_order: Migration to 15.0
Jan 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 146 additions & 0 deletions pos_order_to_sale_order/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
=======================
PoS Order To Sale Order
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b8870739e5a7351994e5c53ec2e388234897590dbc0e89e9108cbd126c30e020
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/15.0/pos_order_to_sale_order
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_order_to_sale_order
: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/pos&target_branch=15.0
:alt: Try me on Runboat

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

This module extends the functionality of point of sale to allow sale orders
creation from the Point of Sale.

In the POS UI, button has been added to create a sale order and discard
the current POS order.

This module is usefull in many cases, for exemple :

* take orders with a very simple interface

* if you have some customers that come every day in your shop, but want to
have a unique invoice at the end of the month. With that module, you can
create a sale order and deliver products every time to keep your stock value
correct, and to create a unique invoice, when you want.

**Technical Notes**

* Some hooks are defined in the JS file, to define custom behaviour after
having created the sale order.

* Some prepare functions are available in the ``sale.order`` model and
``sale.order.line`` models to overload the creation of the sale order.

**Table of contents**

.. contents::
:local:

Configuration
=============

* Go to Point Of Sale / Configuration / Point of Sale
* Check the box 'Create Sale Orders'
* Select the desired default behaviour

.. figure:: https://raw.githubusercontent.com/OCA/pos/15.0/pos_order_to_sale_order/static/description/pos_config_form.png
:width: 800 px

Usage
=====

* Open your Point of sale
* create a new order and select products
* select a customer

* then, click on the "Create Sale Order" button

.. figure:: https://raw.githubusercontent.com/OCA/pos/15.0/pos_order_to_sale_order/static/description/pos_frontend_order.png
:width: 800 px

Three options are available:

* **Create a draft Order**
A new sale order in a draft mode will be created that can be changed later.

* **Create a Confirmed Order**
A new sale order will be created and confirmed.

* **Create Delivered Picking** (by default)
A new sale order will be created and confirmed. the associated picking
will be marked as delivered.

.. figure:: https://raw.githubusercontent.com/OCA/pos/15.0/pos_order_to_sale_order/static/description/pos_frontend_buttons.png
:width: 800 px

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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 <https://github.com/OCA/pos/issues/new?body=module:%20pos_order_to_sale_order%0Aversion:%2015.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.

Credits
=======

Authors
~~~~~~~

* GRAP

Contributors
~~~~~~~~~~~~

* Sylvain LE GAL (https://www.twitter.com/legalsylvain)

* `Aures Tic <https://aurestic.es>`_:

* Jose Zambudio <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-legalsylvain| image:: https://github.com/legalsylvain.png?size=40px
:target: https://github.com/legalsylvain
:alt: legalsylvain

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-legalsylvain|

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/15.0/pos_order_to_sale_order>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions pos_order_to_sale_order/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
24 changes: 24 additions & 0 deletions pos_order_to_sale_order/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright (C) 2017 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "PoS Order To Sale Order",
"version": "15.0.1.0.0",
"author": "GRAP,Odoo Community Association (OCA)",
"category": "Point Of Sale",
"license": "AGPL-3",
"depends": ["point_of_sale", "sale"],
"maintainers": ["legalsylvain"],
"development_status": "Production/Stable",
"website": "https://github.com/OCA/pos",
"data": ["views/view_pos_config.xml"],
"assets": {
"web.assets_qweb": ["pos_order_to_sale_order/static/src/xml/**/*.xml"],
"point_of_sale.assets": [
"pos_order_to_sale_order/static/src/**/*.js",
"pos_order_to_sale_order/static/src/css/pos.css",
],
},
"installable": True,
}
150 changes: 150 additions & 0 deletions pos_order_to_sale_order/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_order_to_sale_order
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-09 06:09+0000\n"
"Last-Translator: Eugeni Chafer <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: pos_order_to_sale_order
#. openerp-web
#: code:addons/pos_order_to_sale_order/static/src/xml/CreateOrderPopup.xml:0
#, python-format
msgid "Create Confirmed Sale Order"
msgstr "Crear una comanda confirmada"

#. module: pos_order_to_sale_order
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_pos_config__iface_create_confirmed_sale_order
msgid "Create Confirmed Sale Orders"
msgstr "Crear comandes confirmades"

#. module: pos_order_to_sale_order
#. openerp-web
#: code:addons/pos_order_to_sale_order/static/src/xml/CreateOrderPopup.xml:0
#, python-format
msgid "Create Delivered Sale Order"
msgstr "Crear una venda entregada"

#. module: pos_order_to_sale_order
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_pos_config__iface_create_delivered_sale_order
msgid "Create Delivered Sale Orders"
msgstr "Crear vendes entregades"

#. module: pos_order_to_sale_order
#. openerp-web
#: code:addons/pos_order_to_sale_order/static/src/xml/CreateOrderPopup.xml:0
#, python-format
msgid "Create Draft Sale Order"
msgstr "Crear un pressupost"

#. module: pos_order_to_sale_order
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_pos_config__iface_create_draft_sale_order
msgid "Create Draft Sale Orders"
msgstr "Crear pressupostos"

#. module: pos_order_to_sale_order
#. openerp-web
#: code:addons/pos_order_to_sale_order/static/src/xml/CreateOrderButton.xml:0
#: code:addons/pos_order_to_sale_order/static/src/xml/CreateOrderPopup.xml:0
#, python-format
msgid "Create Order"
msgstr "Crear comanda"

#. module: pos_order_to_sale_order
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_pos_config__iface_create_sale_order
msgid "Create Sale Orders"
msgstr "Crear comandes"

#. module: pos_order_to_sale_order
#. openerp-web
#: code:addons/pos_order_to_sale_order/static/src/xml/CreateOrderPopup.xml:0
#, python-format
msgid "Discard"
msgstr "Descartar"

#. module: pos_order_to_sale_order
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_pos_config__display_name
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_sale_order__display_name
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_sale_order_line__display_name
msgid "Display Name"
msgstr "Mostrar nom"

#. module: pos_order_to_sale_order
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_pos_config__id
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_sale_order__id
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_sale_order_line__id
msgid "ID"
msgstr "ID"

#. module: pos_order_to_sale_order
#: model:ir.model.fields,help:pos_order_to_sale_order.field_pos_config__iface_create_confirmed_sale_order
msgid ""
"If checked, the cashier will have the possibility to create a confirmed Sale "
"Order, based on the current draft PoS Order."
msgstr ""
"Si està activat, el caixer podrà crear una venda confirmada, a partir de la "
"comanda actual del punt de venda."

#. module: pos_order_to_sale_order
#: model:ir.model.fields,help:pos_order_to_sale_order.field_pos_config__iface_create_delivered_sale_order
msgid ""
"If checked, the cashier will have the possibility to create a confirmed sale "
"Order, based on the current draft PoS Order.\n"
" the according picking will be marked as delivered. Only invoices process "
"will be possible."
msgstr ""
"Si està activat, el caixer podrà crear una venda confirmada basada en "
"l'actual operació del punt de venda\n"
"L'albarà es marcarà com a entregat. Ja només es podrà facturar."

#. module: pos_order_to_sale_order
#: model:ir.model.fields,help:pos_order_to_sale_order.field_pos_config__iface_create_draft_sale_order
msgid ""
"If checked, the cashier will have the possibility to create a draft Sale "
"Order, based on the current draft PoS Order."
msgstr ""
"Si està activat, el caixer podrà crear un pressupost, basat en la comanda "
"actual del punt de venda."

#. module: pos_order_to_sale_order
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_pos_config____last_update
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_sale_order____last_update
#: model:ir.model.fields,field_description:pos_order_to_sale_order.field_sale_order_line____last_update
msgid "Last Modified on"
msgstr "Darrera modificació el"

#. module: pos_order_to_sale_order
#: code:addons/pos_order_to_sale_order/models/sale_order.py:0
#, python-format
msgid "Point of Sale %s"
msgstr "Punt de venda %s"

#. module: pos_order_to_sale_order
#: model:ir.model,name:pos_order_to_sale_order.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuració del punt de venda"

#. module: pos_order_to_sale_order
#: model_terms:ir.ui.view,arch_db:pos_order_to_sale_order.view_pos_config_form
msgid "Sale Order Creations"
msgstr "Creació de comandes de venda"

#. module: pos_order_to_sale_order
#: model:ir.model,name:pos_order_to_sale_order.model_sale_order
msgid "Sales Order"
msgstr "Comandes de venda"

#. module: pos_order_to_sale_order
#: model:ir.model,name:pos_order_to_sale_order.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línia de comandes de venda"
Loading