Skip to content

Commit 204ee5c

Browse files
committed
[REF] account_analytic_wip: remove unused code
1 parent 0ae6f1f commit 204ee5c

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

account_analytic_wip/models/account_analytic_tracking.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def _prepare_account_move_line(self, account, amount):
186186
"account_id": account.id,
187187
"debit": amount if amount > 0.0 else 0.0,
188188
"credit": -amount if amount < 0.0 else 0.0,
189-
# TODO: DROP "clear_wip_account_id": clear_account.id if clear_account else None,
190189
}
191190

192191
def _get_accounting_data_for_valuation(self):

account_analytic_wip/models/account_move.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ class AccountMove(models.Model):
2424
class AccountMoveLine(models.Model):
2525
_inherit = "account.move.line"
2626

27-
# TODO: DROP
28-
# clear_wip_account_id = fields.Many2one(
29-
# "account.account",
30-
# string="Clear WIP Account",
31-
# help="Counterpart account used when this WIP item is cleared",
32-
# )
3327
is_wip = fields.Boolean(compute="_compute_is_wip_account")
3428

3529
@api.depends("product_id.categ_id.property_wip_account_id")

account_analytic_wip/views/product_category_view.xml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,6 @@
1010
<field name="property_variance_account_id" />
1111
</field>
1212

13-
<!-- TODO: DROP
14-
<group name="account_stock_property" position="inside">
15-
<div colspan="2" class="alert alert-info mt16" role="status">
16-
<p><b>Manufacturing Operations WIP</b></p>
17-
<p>Set accounts for time spent on <b
18-
>manufacturing work orders, such as Labor and Overhead</b>:
19-
<ul>
20-
<li><b
21-
>Stock Valuation Account</b> is used for the Applied Cost account, during operations.</li>
22-
<li><b
23-
>Stock Input Account</b> is used for the WIP account, during operations.</li>
24-
<li><b
25-
>Stock Output Account</b> not used, also set with the WIP account.</li>
26-
<li><b
27-
>Variance Account</b> is used for the Variances account, on MO closing.</li>
28-
</ul>
29-
</p>
30-
</div>
31-
</group>
32-
-->
33-
3413
</field>
3514
</record>
3615
</odoo>

0 commit comments

Comments
 (0)