From 7eb25a9ae2ef304503749f8023b8d2f5e2a2e58f Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 13 Jan 2026 11:25:48 +0700 Subject: push --- fixco_custom/models/purchase_order.py | 2 +- fixco_custom/views/account_move.xml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/fixco_custom/models/purchase_order.py b/fixco_custom/models/purchase_order.py index 4bc9d11..3db2d04 100644 --- a/fixco_custom/models/purchase_order.py +++ b/fixco_custom/models/purchase_order.py @@ -73,7 +73,7 @@ class PurchaseOrder(models.Model): invoice_vals = { 'ref': self.partner_ref or '', 'move_type': move_type, - 'invoice_date': self.bill_date, + 'invoice_date': self.bill_date or fields.Date.today(), 'purchase_order_id': self.id, 'narration': self.notes, 'currency_id': self.currency_id.id, diff --git a/fixco_custom/views/account_move.xml b/fixco_custom/views/account_move.xml index 4205e37..5af0cfc 100644 --- a/fixco_custom/views/account_move.xml +++ b/fixco_custom/views/account_move.xml @@ -127,6 +127,24 @@ + + account.move.filter.inherit.marketplace + account.move + + + + + + + + + + + Account Move account.move -- cgit v1.2.3