diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-15 14:16:26 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-02-15 14:16:26 +0700 |
| commit | ff33c441cd031b47bcc381f1163633cf6e8586d0 (patch) | |
| tree | a69b6703e0ee51ef4f1ce1cb4ccb00044c18ae4f | |
| parent | 1a669bcdcf31dfa7f394450eb2afa27d20ab3d89 (diff) | |
fix import taxes_system_id
| -rwxr-xr-x | indoteknik_custom/models/purchase_pricelist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_pricelist.py b/indoteknik_custom/models/purchase_pricelist.py index 67b22e4c..d9c9a51d 100755 --- a/indoteknik_custom/models/purchase_pricelist.py +++ b/indoteknik_custom/models/purchase_pricelist.py @@ -17,7 +17,7 @@ class PurchasePricelist(models.Model): count_trx_po = fields.Integer(string='Count Trx Product') count_trx_po_vendor = fields.Integer(string='Count Trx Vendor') taxes_product_id = fields.Many2one('account.tax', string='Taxes Human', domain=[('type_tax_use', '=', 'purchase')]) - taxes_system_id = fields.Many2one('account.tax', string='Taxes System', readonly=True) + taxes_system_id = fields.Many2one('account.tax', string='Taxes System') include_price = fields.Float(string='Final Price', readonly=True) @api.depends('product_id', 'vendor_id') def _compute_name(self): |
