Mohamed M. Hagag
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
amount_currency_sale/models/sale.py
|
|
@ -9,7 +9,7 @@ class PurchaseCurrency(models.Model): |
|
|
|
|
|
|
|
company_currency_amount = fields.Float(string='Company Currency Total', |
|
|
|
compute='find_amount') |
|
|
|
@api.models |
|
|
|
@api.model |
|
|
|
def find_amount(self): |
|
|
|
""" Function to calculate the total amount in company currency""" |
|
|
|
for this in self: |
|
|
|