A layer stack for thin-film photovoltaic modules, comprising a back electrode, an absorber, a buffer/i-layer, a front electrode and an interlayer, wherein the back electrode, the absorber, the buffer/i-layer, the front electrode and the interlayer are sequentially stacked on a substrate from bottom up by vacuum coating deposition;
- the layer stack is divided by a P1 structure line, a P2 structure line and a P3 structure line respectively;
- a conductive metal grid is embedded in the layer stack, and the conductive metal grid is deposited on the buffer/i-layer before or after the P2 structure line;
- wherein the P2 structure line comprises a patterned line groove that contains the material of the conductive metal grid, the material in the groove being coated with the front electrode material to form a P2 contact comprising the front electrode, the conductive metal grid, and the back electrode.