Skip to content

Commit d9620d5

Browse files
committed
[MERGE] Forward-port of branch 14.0 to master
2 parents 76cfe25 + 6594686 commit d9620d5

File tree

5 files changed

+32
-15
lines changed

5 files changed

+32
-15
lines changed

Makefile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ ifndef WORKERS
55
WORKERS = auto
66
endif
77

8+
ifndef BUILD_DIR
9+
BUILD_DIR = _build
10+
endif
11+
812
SPHINX_BUILD = sphinx-build
913
CONFIG_DIR = .
1014
SPHINXOPTS = -D project_root=$(ROOT) -D canonical_version=$(CANONICAL_VERSION) \
@@ -13,7 +17,7 @@ SPHINXOPTS = -D project_root=$(ROOT) -D canonical_version=$(CANONICAL_VERSIO
1317
-A google_analytics_key=$(GOOGLE_ANALYTICS_KEY) \
1418
-j $(WORKERS)
1519
SOURCE_DIR = content
16-
BUILD_DIR = _build
20+
1721

1822
HTML_BUILD_DIR = $(BUILD_DIR)/html
1923
ifdef VERSIONS
@@ -37,10 +41,9 @@ help:
3741
clean:
3842
@echo "Cleaning build files..."
3943
rm -rf $(BUILD_DIR)/*
40-
rm extensions/odoo_theme/static/style.css
4144
@echo "Cleaning finished."
4245

43-
html: extensions/odoo_theme/static/style.css
46+
html: $(BUILD_DIR)/html/_static/style.css
4447
@echo "Starting build..."
4548
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b html $(SPHINXOPTS) $(SOURCE_DIR) $(HTML_BUILD_DIR)
4649
@echo "Build finished."
@@ -60,16 +63,17 @@ gettext:
6063
$(SPHINX_BUILD) -c $(CONFIG_DIR) -b gettext $(SOURCE_DIR) locale/sources
6164
@echo "Generation finished."
6265

63-
extensions/odoo_theme/static/style.css: extensions/odoo_theme/static/style.scss extensions/odoo_theme/static/scss/*.scss
66+
$(BUILD_DIR)/html/_static/style.css: extensions/odoo_theme/static/style.scss extensions/odoo_theme/static/scss/*.scss
6467
@echo "Compiling stylesheets..."
65-
pysassc $(subst .css,.scss,$@) $@
68+
mkdir -p $(BUILD_DIR)/html/_static
69+
pysassc extensions/odoo_theme/static/style.scss $(BUILD_DIR)/html/_static/style.css
6670
@echo "Compilation finished."
6771

6872
#=== Development and debugging rules ===#
6973

7074
fast: SPHINXOPTS += -A collapse_menu=True
7175
fast: html
7276

73-
static: extensions/odoo_theme/static/style.css
74-
cp -r extensions/odoo_theme/static/* _build/html/_static/
75-
cp -r static/* _build/html/_static/
77+
static: $(BUILD_DIR)/static/style.css
78+
cp -r extensions/odoo_theme/static/* $(BUILD_DIR)/html/_static/
79+
cp -r static/* $(BUILD_DIR)/html/_static/

conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
# Search for the directory of odoo sources to know whether autodoc should be used on the dev doc
6161
odoo_dir = Path('odoo')
6262
odoo_dir_in_path = False
63+
if not odoo_dir.is_dir():
64+
parent_odoo_dir = Path('../odoo')
65+
if parent_odoo_dir.is_dir():
66+
_logger.info('Using parent dir to find odoo sources')
67+
odoo_dir = parent_odoo_dir
6368
if not odoo_dir.is_dir():
6469
_logger.warning(
6570
f"Could not find Odoo sources directory at {odoo_dir.absolute()}.\n"

content/applications/finance/accounting/bank/reconciliation/use_cases.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,5 @@ right and validate all related payments :
101101
.. image:: media/use10.png
102102
:align: center
103103

104-
.. tip::
105-
Hit CTRL-Enter to reconcile all the balanced items in the sheet.
106-
107104
.. seealso::
108105
* :doc:`../feeds/bank_synchronization`

content/applications/sales/sales/amazon_connector/manage.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ at once or ship products partially by using backorders.
3636
When a picking related to the order is confirmed, a notification is sent to Amazon who will, in
3737
turn, notify the customer that the order (or a part of it) is on its way.
3838

39+
.. important::
40+
Starting from July 2021, Amazon requires that deliveries be provided with a tracking
41+
reference. This concerns all marketplaces.
42+
43+
If this is not already done, you need to :ref:`install <general/install>` the **Delivery Costs**
44+
module in order to provide the tracking reference. There is unfortunately no workaround to comply
45+
with this new Amazon policy.
46+
47+
.. seealso::
48+
- :doc:`../../../inventory_and_mrp/inventory/shipping/setup/third_party_shipper`
49+
3950
Follow deliveries in FBA
4051
========================
4152

content/developer/misc/other/guidelines.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -911,10 +911,10 @@ Symbols and Conventions
911911
912912
# Fields declaration
913913
name = fields.Char(string='Name', default=_default_name)
914-
seats_reserved = fields.Integer(oldname='register_current', string='Reserved Seats',
915-
store=True, readonly=True, compute='_compute_seats')
916-
seats_available = fields.Integer(oldname='register_avail', string='Available Seats',
917-
store=True, readonly=True, compute='_compute_seats')
914+
seats_reserved = fields.Integer(string='Reserved Seats', store=True
915+
readonly=True, compute='_compute_seats')
916+
seats_available = fields.Integer(string='Available Seats', store=True
917+
readonly=True, compute='_compute_seats')
918918
price = fields.Integer(string='Price')
919919
event_type = fields.Selection(string="Type", selection='_selection_type')
920920

0 commit comments

Comments
 (0)