@@ -135,9 +135,9 @@ class SoongWorkflowMixin(models.AbstractModel):
|
||||
else:
|
||||
self.is_active = False
|
||||
|
||||
if self.log_ids:
|
||||
if self.log_ids[-1].name == '归档' and self.log_ids[-1].is_active_operate == True:
|
||||
self.is_active = False
|
||||
# if self.log_ids:
|
||||
# if self.log_ids[-1].name == '归档' and self.log_ids[-1].is_active_operate == True:
|
||||
# self.is_active = False
|
||||
|
||||
def _compute_is_confirm(self):
|
||||
for record in self:
|
||||
|
||||
@@ -71,18 +71,4 @@
|
||||
<record model="yuthon.resource.management.type" id="yuthon_resource_management_type_data1">
|
||||
<field name="name">自有</field>
|
||||
</record>
|
||||
|
||||
<record model="yuthon.resource.billing.type" id="yuthon_resource_billing_type_data0">
|
||||
<field name="name">收据</field>
|
||||
</record>
|
||||
<record model="yuthon.resource.billing.type" id="yuthon_resource_billing_type_data1">
|
||||
<field name="name">普票</field>
|
||||
</record>
|
||||
<record model="yuthon.resource.billing.type" id="yuthon_resource_billing_type_data2">
|
||||
<field name="name">专票</field>
|
||||
</record>
|
||||
<record model="yuthon.resource.billing.type" id="yuthon_resource_billing_type_data3">
|
||||
<field name="name">全电票</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user