summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-30 16:13:46 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-30 16:13:46 +0700
commit0801de741384b29a01f5570f420da10953834e22 (patch)
tree2db9e74c945d0939ec4e6ef286f6c126e1d717f3 /indoteknik_custom
parentedafc890045d833289ad3b53ce3375625f18e54c (diff)
<iman> update automatic data new register
Diffstat (limited to 'indoteknik_custom')
-rw-r--r--indoteknik_custom/models/user_company_request.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/user_company_request.py b/indoteknik_custom/models/user_company_request.py
index 7d28d7ed..69067e9c 100644
--- a/indoteknik_custom/models/user_company_request.py
+++ b/indoteknik_custom/models/user_company_request.py
@@ -27,6 +27,9 @@ class UserCompanyRequest(models.Model):
self.user_id.sppkp = self.user_company_id.sppkp
self.user_id.nama_wajib_pajak = self.user_company_id.nama_wajib_pajak
self.user_id.alamat_lengkap_text = self.user_company_id.alamat_lengkap_text
+ self.user_id.user_id = self.user_company_id.user_id
+ self.user_id.property_account_receivable_id = self.user_company_id.property_account_receivable_id
+ self.user_id.property_account_payable_id = self.user_company_id.property_account_payable_id
else:
new_company = self.env['res.partner'].create({
'name': self.user_input