8722ea902e
Since odoo/documentation#903, the guideline for the location of new resource (images, downloadable files, RST includes...) files is to place those inside the directory of the RST page that references them. For example, if `doc1.rst` has a reference to `image.png` and to `download.zip`, the file structure should look like this: ├── parent_doc/ │ └── doc1/ │ │ └── image.png │ │ └── download.zip │ └── doc1.rst │ └── doc2.rst ├── parent_doc.rst Before this commit, most of the resource files were still located inside 'media' directories holding all the resource files referenced by RST pages located at the same level as these directories. In the example above, a single 'media' directory would hold all the resource files referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from figuring out easily which resource file was referenced by which RST page and, thus, lead to unused resource files piling up in the repository. It also made it more complicated to define codeowners regex rules because a team could not simply be assigned to `/some_page.*` but needed to be assigned to both `/some_page\.rst` and to the location of 'media'. In order to help new content writers figure out the guideline when taking examples from other RST pages, this commit retroactively applies the guideline to existing resource files and 'media' directories. The left-over resource files that are not referenced by any RST page are removed. task-2497965 Part-of: odoo/documentation#2068
43 lines
1.4 KiB
ReStructuredText
43 lines
1.4 KiB
ReStructuredText
=============================
|
|
Using fiscal positions in PoS
|
|
=============================
|
|
|
|
In Odoo, *Fiscal Positions* let you apply different taxes based on
|
|
the customer location. In a *Point of Sale*, such as a restaurant, it can
|
|
be used to apply different taxes depending if the customer eats in or
|
|
takes away.
|
|
|
|
Set up fiscal positions for PoS
|
|
===============================
|
|
|
|
To enable this feature, go to :menuselection:`Point of Sale --> Configuration --> Point of Sale`
|
|
and check *Fiscal Position per Order*. Now, you can choose the fiscal positions
|
|
you want for your *PoS*.
|
|
|
|
.. image:: fiscal_position/fiscal_position_01.png
|
|
:align: center
|
|
|
|
.. note::
|
|
You need to create your fiscal positions before using this feature.
|
|
|
|
Using fiscal positions
|
|
======================
|
|
|
|
Once on your *PoS* interface, click on the *Tax* button.
|
|
Now, choose the fiscal position you need for the current order.
|
|
|
|
.. image:: fiscal_position/fiscal_position_02.png
|
|
:align: center
|
|
|
|
Set up a default fiscal position
|
|
================================
|
|
|
|
If you want to use a default fiscal position, meaning that a preexisting value is always
|
|
automatically assigned, go to :menuselection:`Point of Sale --> Configuration
|
|
--> Point of Sale` and enable *Fiscal Position*. Now, choose one to set as the default one.
|
|
|
|
.. image:: fiscal_position/fiscal_position_03.png
|
|
:align: center
|
|
|
|
.. note::
|
|
Now, the *tax* button is replaced by a *on site* button when on the *PoS* interface. |