Add active field to product.category for archiving
This commit is contained in:
parent
e8a2851fca
commit
e7bbb338cb
|
|
@ -25,6 +25,11 @@ msgstr ""
|
|||
msgid "Asset"
|
||||
msgstr "الأصل"
|
||||
|
||||
#. module: purchase_custom_stock
|
||||
#: model:ir.model.fields,field_description:purchase_custom_stock.field_product_category__active
|
||||
msgid "Active"
|
||||
msgstr "نشط"
|
||||
|
||||
#. module: purchase_custom_stock
|
||||
#: model:ir.model.fields,field_description:purchase_custom_stock.field_purchase_request__all_assets_released
|
||||
msgid "All Assets Released"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ from . import employee_custody
|
|||
from . import account_asset_operation
|
||||
from . import refuse_reason
|
||||
from . import account_asset
|
||||
from . import product_category
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
from odoo import models, fields , api, _
|
||||
from datetime import datetime
|
||||
from datetime import timedelta
|
||||
|
||||
class Category(models.Model):
|
||||
_inherit = 'product.category'
|
||||
|
||||
active = fields.Boolean("Active",default=True)
|
||||
Loading…
Reference in New Issue