[MERGE] forward port of branch 9.0 up to 972efbc
This commit is contained in:
@@ -154,7 +154,7 @@ class AccountAssetAsset(models.Model):
|
|||||||
def compute_depreciation_board(self):
|
def compute_depreciation_board(self):
|
||||||
self.ensure_one()
|
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)
|
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
|
# Remove old unposted depreciation lines. We cannot use unlink() with One2many field
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
<field name="weight"/>
|
<field name="weight"/>
|
||||||
<field name="categ_id"/>
|
<field name="categ_id"/>
|
||||||
<field name="type"/>
|
<field name="type"/>
|
||||||
<field name="state"/>
|
<field name="state" invisible="1"/>
|
||||||
<field name="uom_id" invisible="1"/>
|
<field name="uom_id" invisible="1"/>
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -174,7 +174,7 @@ Or ``dpkg`` (handles less dependencies automatically):
|
|||||||
# apt-get install postgresql -y
|
# apt-get install postgresql -y
|
||||||
# dpkg -i <path_to_installation_package> # this probably fails with missing dependencies
|
# dpkg -i <path_to_installation_package> # this probably fails with missing dependencies
|
||||||
# apt-get install -f # should install the missing dependencies
|
# apt-get install -f # should install the missing dependencies
|
||||||
# pdkg -i <path_to_installation_package>
|
# dpkg -i <path_to_installation_package>
|
||||||
|
|
||||||
|
|
||||||
This will install Odoo as a service, create the necessary PostgreSQL_ user
|
This will install Odoo as a service, create the necessary PostgreSQL_ user
|
||||||
|
|||||||
Reference in New Issue
Block a user