Replies: 1 comment 1 reply
-
On the action of the record, put a domain to filter what records do you want to see.
If you can't launch an action, you can add extra parameters to a context in the form or kanban view:
Also you can add to a context the view you want to load when clicking the element:
Examples above are copied directly get from Odoo codebase. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have 3 different kanban views,
The first is the Kanban view to display block data using the block.py model (blok.mesin) where there are 5 blocks of data from blocks, namely Blocks E, F, G, H, and I. The second is the Kanban view to display machine lines using the line model. py (line.mesin.produksi) which has 13 lines. and the last one is the Kanban view for production machines using the datamesin.py model (data.mesin.produksi).
I input it into the machine data form based on the fields below.
rpm = fields.Integer(string='RPM')
For example, the data I created is as follows:
Nomor Mesin: I25
Nama Mesin: Shuttle
Kode Kain: UMR 07
RPM: 5000
Line: Line 1
Block: Block I
Divisi: Sales
My goal is that when I save the record, the data will appear in Blok I and Line 1.
So when the user accesses the Kanban view and clicks on Block I and Line 1, the data appears there.
the problem is everytime i try save the record, it appear in every Blok and Line
any idea how to achieve my goal?
Beta Was this translation helpful? Give feedback.
All reactions