main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit c244cf658c - Show all commits

View File

@@ -56,7 +56,8 @@ class ContractFactory:
contract.reference = c.reference contract.reference = c.reference
contract.from_location = c.from_location contract.from_location = c.from_location
contract.to_location = c.to_location contract.to_location = c.to_location
contract.company = 6 context = Transaction().context
contract.company = context.get('company') if context else None
if type_ == 'Purchase': if type_ == 'Purchase':
contract.purchase_date = Date.today() contract.purchase_date = Date.today()
else: else: