From 9eac70db3554ce228e7be52a1b01645e689427a1 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Wed, 15 Jun 2016 09:34:54 +0200 Subject: [PATCH 1/4] [FIX] product: do not display state field The field was removed from the form view at af9d21b3 during a refactoring but was forgotten in the tree view. It makes no sense to display a field that the user can not change. The same field was already invisible on the product.product tree view since 43977de. Make it invisible instead of removing it to avoid breaking potential xpaths. Fixes #12418 --- addons/product/product_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index e4739bfa5e0..fc0f557cf70 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -59,7 +59,7 @@ - + From b7970130e509ce8d352b448ff7166c39f6dfea66 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Wed, 15 Jun 2016 10:17:27 +0200 Subject: [PATCH 2/4] [FIX] account_asset: ordered posted depreciation lines To recompute the depreciation board the last depreciation date must be taken. opw:679212 --- addons/account_asset/account_asset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_asset/account_asset.py b/addons/account_asset/account_asset.py index 4118d531cac..951c28a8a7a 100644 --- a/addons/account_asset/account_asset.py +++ b/addons/account_asset/account_asset.py @@ -154,7 +154,7 @@ class AccountAssetAsset(models.Model): def compute_depreciation_board(self): self.ensure_one() - posted_depreciation_line_ids = self.depreciation_line_ids.filtered(lambda x: x.move_check).sorted(key=lambda l: l.depreciation_date, reverse=True) + posted_depreciation_line_ids = self.depreciation_line_ids.filtered(lambda x: x.move_check).sorted(key=lambda l: l.depreciation_date) unposted_depreciation_line_ids = self.depreciation_line_ids.filtered(lambda x: not x.move_check) # Remove old unposted depreciation lines. We cannot use unlink() with One2many field From 24b161d816ef1cfd9b84bdb3a53313c20abde132 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Singh Date: Tue, 14 Jun 2016 12:29:43 +0530 Subject: [PATCH 3/4] [CLA] signature for toanant From #12402 --- doc/cla/individual/toanant.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/cla/individual/toanant.md diff --git a/doc/cla/individual/toanant.md b/doc/cla/individual/toanant.md new file mode 100644 index 00000000000..22f382972a1 --- /dev/null +++ b/doc/cla/individual/toanant.md @@ -0,0 +1,9 @@ +India, 2016-06-14 + +I hereby agree to the terms of the Odoo Individual Contributor License Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this declaration. + +Signed, + +Abhishek Kumar Singh abhishek4bhopati@gmail.com https://github.com/toanant From 972efbc0d11ab11cf2397e1a50b164833f562cee Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Singh Date: Tue, 14 Jun 2016 12:28:21 +0530 Subject: [PATCH 4/4] [FIX] doc: typo in install document Closes #12402 --- doc/setup/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/setup/install.rst b/doc/setup/install.rst index 41a8d3e2e4a..139cc244701 100644 --- a/doc/setup/install.rst +++ b/doc/setup/install.rst @@ -174,7 +174,7 @@ Or ``dpkg`` (handles less dependencies automatically): # apt-get install postgresql -y # dpkg -i # this probably fails with missing dependencies # apt-get install -f # should install the missing dependencies - # pdkg -i + # dpkg -i This will install Odoo as a service, create the necessary PostgreSQL_ user