Dairy farmers and processors have struck a deal "in principle" over milk prices following lengthy meetings today at the Royal Welsh Show.
After face-to-face talks, the two sides have agreed to sign up to a new voluntary code of practice.
Under the new terms, companies buying milk, such as supermarkets, would have to give farmers a "sensible" warning period before changing their prices. It is hoped that this would give farmers enough time to withdraw from any deals.
The agreement comes after farmers blockaded several dairy factories around the UK in protest of how much they are paid for their milk.
But National Farming Union Cymru Deputy President Stephen James said that there's still a long way to go to solve the dairy farming issue:
UK farming minister Jim Paice said the whole industry needs a "shake-up."
A spokesman from the UK Government's Department for Environment, Food, and Rural Affairs (Defra) said:
Earlier today one West Wales farmer directly affected by the milk dispute spoke about the problems dairy farmers have been facing and their fears for the future of the industry.